@@ -145,7 +145,7 @@ public void run() {
145
145
setupMultiversionMaterials ();
146
146
log ("==== End Setup ====" );
147
147
148
- if (! preEnable ()) {
148
+ if (!preEnable ()) {
149
149
return ;
150
150
}
151
151
this .loadSuccessful = false ;
@@ -256,7 +256,7 @@ private void setupMultiversionMaterials() {
256
256
FIREBALL = Material .valueOf ("LEGACY_FIREBALL" );
257
257
258
258
} else {
259
- if (! mc17 ) {
259
+ if (!mc17 ) {
260
260
BANNER = Material .valueOf ("BANNER" );
261
261
}
262
262
CROPS = Material .valueOf ("CROPS" );
@@ -420,7 +420,7 @@ public void onDisable() {
420
420
421
421
public void startAutoLeaveTask (boolean restartIfRunning ) {
422
422
if (AutoLeaveTask != null ) {
423
- if (! restartIfRunning ) {
423
+ if (!restartIfRunning ) {
424
424
return ;
425
425
}
426
426
this .getServer ().getScheduler ().cancelTask (AutoLeaveTask );
@@ -540,7 +540,7 @@ public boolean isPlayerFactionChatting(Player player) {
540
540
// TODO: GET THIS BACK AND WORKING
541
541
542
542
public boolean isFactionsCommand (String check ) {
543
- return ! (check == null || check .isEmpty ()) && this .handleCommand (null , check , true );
543
+ return !(check == null || check .isEmpty ()) && this .handleCommand (null , check , true );
544
544
}
545
545
546
546
// Get a player's faction tag (faction name), mainly for usage by chat plugins for local/channel chat
@@ -562,7 +562,7 @@ public String getPlayerFactionTagRelation(Player speaker, Player listener) {
562
562
}
563
563
564
564
// if listener isn't set, or config option is disabled, give back uncolored tag
565
- if (listener == null || ! Conf .chatTagRelationColored ) {
565
+ if (listener == null || !Conf .chatTagRelationColored ) {
566
566
tag = me .getChatTag ().trim ();
567
567
} else {
568
568
FPlayer you = FPlayers .getInstance ().getByPlayer (listener );
@@ -641,7 +641,7 @@ public boolean isHookedPlayervaults() {
641
641
}
642
642
643
643
public String getPrimaryGroup (OfflinePlayer player ) {
644
- return perms == null || ! perms .hasGroupSupport () ? " " : perms .getPrimaryGroup (Bukkit .getWorlds ().get (0 ).toString (), player );
644
+ return perms == null || !perms .hasGroupSupport () ? " " : perms .getPrimaryGroup (Bukkit .getWorlds ().get (0 ).toString (), player );
645
645
}
646
646
647
647
public void debug (Level level , String s ) {
0 commit comments