checkstyle fix

checkstyle fix
This commit is contained in:
Kyle
2019-12-04 14:58:38 +00:00
committed by GitHub
parent 08d8a0c1dd
commit 8beae6d673

View File

@@ -397,7 +397,7 @@ public class WorldHopperPlugin extends Plugin
World targetWorld = worldResult.findWorld(player.getWorld());
if ((targetWorld == null || currentWorld == null)
|| (this.removePVPWorld && !currentWorld.getTypes().contains(WorldType.PVP) && targetWorld.getTypes().contains(WorldType.PVP))
|| (this.removeBHWorld &&!currentWorld.getTypes().contains(WorldType.BOUNTY) && targetWorld.getTypes().contains(WorldType.BOUNTY)))
|| (this.removeBHWorld && !currentWorld.getTypes().contains(WorldType.BOUNTY) && targetWorld.getTypes().contains(WorldType.BOUNTY)))
{
// Disable Hop-to a PVP world & BH world from a regular world
return;