Skip to content

Commit 3431237

Browse files
committed
2.2.7 Update
1 parent 56c5249 commit 3431237

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

src/com/loohp/interactivechat/Hooks/EssentialsNicknames.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@ public void onEssentialsReload(PlayerCommandPreprocessEvent event) {
4444

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

5052
@EventHandler

src/com/loohp/interactivechat/InteractiveChat.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
import com.loohp.interactivechat.Updater.Updater;
3434
import com.loohp.interactivechat.Utils.MCVersion;
3535
import com.loohp.interactivechat.Utils.MaterialUtils;
36+
import com.loohp.interactivechat.Utils.PotionUtils;
3637
import com.loohp.interactivechat.Utils.RarityUtils;
3738

3839
public class InteractiveChat extends JavaPlugin {
@@ -191,6 +192,7 @@ public void onEnable() {
191192

192193
MaterialUtils.setupLang();
193194
RarityUtils.setupRarity();
195+
PotionUtils.setupPotions();
194196

195197
Charts.setup(metrics);
196198

src/plugin.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: InteractiveChat
22
author: loohp
3-
version: 2.2.6
3+
version: 2.2.7
44
main: com.loohp.interactivechat.InteractiveChat
55
api-version: 1.13
66
description: Make the chat interactive

0 commit comments

Comments
 (0)