Skip to content

Commit

Permalink
2.2.7 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
LOOHP committed Jun 7, 2020
1 parent 56c5249 commit 3431237
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/com/loohp/interactivechat/Hooks/EssentialsNicknames.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ public void onEssentialsReload(PlayerCommandPreprocessEvent event) {

@EventHandler(priority=EventPriority.HIGHEST, ignoreCancelled = true)
public void onEssentialsNickChange(NickChangeEvent event) {
InteractiveChat.essenNick.put(event.getAffected().getBase(), prefix + event.getValue());
try {
InteractiveChat.essenNick.put(event.getAffected().getBase(), prefix + event.getValue());
} catch (Exception ignore) {}
}

@EventHandler
Expand Down
2 changes: 2 additions & 0 deletions src/com/loohp/interactivechat/InteractiveChat.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import com.loohp.interactivechat.Updater.Updater;
import com.loohp.interactivechat.Utils.MCVersion;
import com.loohp.interactivechat.Utils.MaterialUtils;
import com.loohp.interactivechat.Utils.PotionUtils;
import com.loohp.interactivechat.Utils.RarityUtils;

public class InteractiveChat extends JavaPlugin {
Expand Down Expand Up @@ -191,6 +192,7 @@ public void onEnable() {

MaterialUtils.setupLang();
RarityUtils.setupRarity();
PotionUtils.setupPotions();

Charts.setup(metrics);

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: 2.2.6
version: 2.2.7
main: com.loohp.interactivechat.InteractiveChat
api-version: 1.13
description: Make the chat interactive
Expand Down

0 comments on commit 3431237

Please sign in to comment.