Code cleanup
This commit is contained in:
parent
bf1463806e
commit
5502cd5fa6
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ public class LivingHandler {
|
|||
|
||||
// Instant kill if entity exceeds world's limit
|
||||
if (WarpDriveConfig.G_SPACE_WORLDBORDER_BLOCKS > 0
|
||||
&& (Math.abs(x) > WarpDriveConfig.G_SPACE_WORLDBORDER_BLOCKS || Math.abs(z) > WarpDriveConfig.G_SPACE_WORLDBORDER_BLOCKS)) {
|
||||
&& (Math.abs(x) > WarpDriveConfig.G_SPACE_WORLDBORDER_BLOCKS || Math.abs(z) > WarpDriveConfig.G_SPACE_WORLDBORDER_BLOCKS)) {
|
||||
if (entity instanceof EntityPlayerMP) {
|
||||
if (((EntityPlayerMP) entity).capabilities.isCreativeMode) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue