Skip to content

Commit

Permalink
1.7.12 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
LOOHP committed Apr 12, 2020
1 parent 77b509e commit 74c66d4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions src/com/loohp/interactivechat/InteractiveChat.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,8 @@ public void onEnable() {
InteractiveChat.plugin.getConfig().options().copyDefaults(false);

protocolManager = ProtocolLibrary.getProtocolManager();

getCommand("interactivechat").setExecutor(new Commands());

ConfigManager.setup();

removeTimeout();
removePlayer();

if (getServer().getClass().getPackage().getName().contains("1_15_R1") == true) {
if (getServer().getClass().getPackage().getName().contains("1_15_R1") == true) {
version = "1.15";
} else if (getServer().getClass().getPackage().getName().contains("1_14_R1") == true) {
version = "1.14";
Expand Down Expand Up @@ -162,6 +155,13 @@ public void onEnable() {
getServer().getConsoleSender().sendMessage(ChatColor.RED + "This version of minecraft is unsupported!");
plugin.getPluginLoader().disablePlugin(this);
}

getCommand("interactivechat").setExecutor(new Commands());

ConfigManager.setup();

removeTimeout();
removePlayer();

if (InteractiveChat.version.contains("legacy")) {
getServer().getPluginManager().registerEvents(new LegacyEvents(), this);
Expand Down
2 changes: 1 addition & 1 deletion src/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: InteractiveChat
author: loohp
version: 1.7.11
version: 1.7.12
main: com.loohp.interactivechat.InteractiveChat
api-version: 1.13
description: Make the chat interactive
Expand Down

0 comments on commit 74c66d4

Please sign in to comment.