invert animalspawn perm if its not globally defined. fix #63
This commit is contained in:
parent
529bcfe7f1
commit
61f459dd7a
@ -1,3 +1,8 @@
|
|||||||
|
Flan 1.5.1
|
||||||
|
======================
|
||||||
|
- Invert ANIMALSPAWN in global perms if its not defined. fix animals not spawning outside claims
|
||||||
|
|
||||||
|
|
||||||
Flan 1.5.0
|
Flan 1.5.0
|
||||||
======================
|
======================
|
||||||
- Fix some items checking for wrong position and thus are able to interact in claims
|
- Fix some items checking for wrong position and thus are able to interact in claims
|
||||||
|
@ -28,6 +28,6 @@ public class GlobalClaim implements IPermissionContainer {
|
|||||||
player.sendMessage(PermHelper.simpleColoredText(ConfigHandler.lang.noPermissionSimple, Formatting.DARK_RED), true);
|
player.sendMessage(PermHelper.simpleColoredText(ConfigHandler.lang.noPermissionSimple, Formatting.DARK_RED), true);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
return perm != PermissionRegistry.MOBSPAWN;
|
return perm != PermissionRegistry.MOBSPAWN && perm != PermissionRegistry.ANIMALSPAWN;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user