File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
com/loohp/interactivechat Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 3333import com .loohp .interactivechat .Updater .Updater ;
3434import com .loohp .interactivechat .Utils .MCVersion ;
3535import com .loohp .interactivechat .Utils .MaterialUtils ;
36+ import com .loohp .interactivechat .Utils .PotionUtils ;
3637import com .loohp .interactivechat .Utils .RarityUtils ;
3738
3839public 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
Original file line number Diff line number Diff line change 11name : InteractiveChat
22author : loohp
3- version : 2.2.6
3+ version : 2.2.7
44main : com.loohp.interactivechat.InteractiveChat
55api-version : 1.13
66description : Make the chat interactive
You can’t perform that action at this time.
0 commit comments