Buggy code:
if ( ! ( perms . has ( "mo-ambient" , true ) ) ) { event . setCancelled ( true ) ; return ; } } if ( ( ( ( ( ( ( ( entityName . equalsIgnoreCase ( "MoCreatures-Dolphin" ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Fishy" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-JellyFish" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-MediumFish" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Piranha" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Ray" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Shark" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-SmallFish" ) ) ) { found = true ; if ( ! ( perms . has ( "mo-aquatic" , true ) ) ) { event . setCancelled ( true ) ; return ; } } if ( ( ( ( ( ( ( ( ( ( ( ( ( entityName . equalsIgnoreCase ( "MoCreatures-FlameWraith" ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-BigGolem" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Golem" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-HellRat" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-HorseMob" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-MiniGolem" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Ogre" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Rat" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Scorpion" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-SilverSkeleton" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-WWolf" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Werewolf" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Wraith" ) ) ) { found = true ; if ( ! ( perms . has ( "mo-monsters" , true ) ) ) { event . setCancelled ( true ) ; return ; } } if ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( entityName . equalsIgnoreCase ( "MoCreatures-Bear" ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-BigCat" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Bird" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Boar" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Bunny" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Crocodile" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Deer" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Duck" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Elephant" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Ent" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Firefly" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Fox" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Goat" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Horse" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Kitty" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-KomodoDragon" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Mole" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Mouse" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Ostrich" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-PetScorpion" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Raccoon" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Snake" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Turkey" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Turtle" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-WildHorse" ) ) ) || ( entityName . equalsIgnoreCase ( "MoCreatures-Wyvern" ) ) ) { found = true ; if ( ! ( perms . has ( "mo-passive" , true ) ) ) { event . setCancelled ( true ) ; return ; } } } if ( config . getBoolean ( "EnableThaumcraftHooks" ) ) { if ( ( ( ( entityName . equalsIgnoreCase ( "Thaumcraft-Pech" ) ) || ( entityName . equalsIgnoreCase ( "CraftFlying" ) ) ) || ( entityName . equalsIgnoreCase ( "Thaumcraft-EldritchGuardian" ) ) ) || ( entityName . equalsIgnoreCase ( "Thaumcraft-Firebat" ) ) ) { found = true ; if ( ! ( perms . has ( "thaumcraft-monsters" , true ) ) ) { event . setCancelled ( true ) ; } } } if ( config . getBoolean ( "EnableTConstructHooks" ) ) { if ( entityName . equalsIgnoreCase ( "TConstruct-EdibleSlime" ) ) { found = true ; if ( ! ( perms . has ( "tconstruct-monsters" , true ) ) ) { event . setCancelled ( true ) ; } } } if ( config . getBoolean ( "EnableTFHooks" ) ) { <START_BUG> if ( entityName . equalsIgnoreCase ( "ThermalFoundation-Blizz" ) ) { <END_BUG> found = true ; if ( ! ( perms . has ( "tf-monsters" , true ) ) ) { event . setCancelled ( true ) ; } } } } if ( ! found ) { System . out . println ( ( ( ( ( ( ( "[ResProtect]:<seq2seq4repair_space>Didn't<seq2seq4repair_space>catch<seq2seq4repair_space>the<seq2seq4repair_space>following<seq2seq4repair_space>spawn<seq2seq4repair_space>event<seq2seq4repair_space>-<seq2seq4repair_space>" + ( event . isCancelled ( ) ) ) + "Name:<seq2seq4repair_space>[" ) + ( event . getEntity ( ) . toString ( ) ) ) + "]<seq2seq4repair_space>-<seq2seq4repair_space>Class:<seq2seq4repair_space>[" ) + ( event . getEntity ( ) . getClass ( ) ) ) + "]" ) ) ; } } No newline ; at end ; of file ; }

Fix:
if ( ( entityName . equalsIgnoreCase ( "ThermalFoundation-Blitz" ) ) || ( entityName . equalsIgnoreCase ( "ThermalFoundation-Basalz" ) ) ) {