Guest User

Untitled

a guest
Jan 21st, 2018
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1.         if (event.getCreatureType() == CreatureType.SILVERFISH) {
  2.             if (event.getSpawnReason() == SpawnReason.NATURAL);
  3.                 Boolean AllowSF = CONFIG.getBoolean("Allow Silverfish",true);
  4.                 if (AllowSF == false) ;
  5.                     event.setCancelled(true);
  6.                     String strBoolean = new Boolean(CONFIG.getBoolean("Allow Silverfish",true)).toString();
  7.                     log.info(strBoolean);
  8.         }
Add Comment
Please, Sign In to add comment