From aae24d862ac17cbf8f052a56352d03367b949306 Mon Sep 17 00:00:00 2001 From: Sam Date: Fri, 8 Jul 2016 17:38:53 +0100 Subject: [PATCH] Revert "PC-692" This reverts commit 7865b1ef800c9bf4695724ed69da4fc6a60cfb76. --- .../nautilus/game/arcade/game/games/wither/WitherGame.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wither/WitherGame.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wither/WitherGame.java index 670f13771..20e743fc8 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wither/WitherGame.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/games/wither/WitherGame.java @@ -271,6 +271,13 @@ public class WitherGame extends TeamGame implements IBlockRestorer return; } + if(event.getBlock().getLocation().getBlockY() < _maxY - 4) + { + event.getPlayer().sendMessage(F.main("BlockChecker", "You may not build under this height!")); + event.setCancelled(true); + return; + } + _locationsOfBlocks.add(event.getBlock().getLocation()); }