From d870ff6f115bafc7d150f9afda8d9b4bba833ce3 Mon Sep 17 00:00:00 2001 From: Ty Sayers Date: Tue, 29 Sep 2015 18:47:24 -0400 Subject: [PATCH] Fix bug where Fissure could be exploited with Arctic Armour for 'water bending', allowing players to artificially create Water towers by bending temporary ice. --- .../game/classcombat/Skill/Mage/FissureData.java | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Plugins/Mineplex.Minecraft.Game.ClassCombat/src/mineplex/minecraft/game/classcombat/Skill/Mage/FissureData.java b/Plugins/Mineplex.Minecraft.Game.ClassCombat/src/mineplex/minecraft/game/classcombat/Skill/Mage/FissureData.java index 3c86a6dcb..6b81f498b 100644 --- a/Plugins/Mineplex.Minecraft.Game.ClassCombat/src/mineplex/minecraft/game/classcombat/Skill/Mage/FissureData.java +++ b/Plugins/Mineplex.Minecraft.Game.ClassCombat/src/mineplex/minecraft/game/classcombat/Skill/Mage/FissureData.java @@ -111,9 +111,14 @@ public class FissureData Block block = _path.get(_handled); - //Cannot raise - if (block.getTypeId() == 46) + //Cannot raise TNT/ICE/WATER + if (block.getTypeId() == 46 + || block.getTypeId() == 79 + || block.getTypeId() == 8 + || block.getTypeId() == 9) + { return false; + } Block up = block.getRelative(0, _height + 1, 0); @@ -130,7 +135,6 @@ public class FissureData if (block.getTypeId() == 1) Host.Factory.BlockRestore().add(block, 4, block.getData(), 14000); if (block.getTypeId() == 2) Host.Factory.BlockRestore().add(block, 3, block.getData(), 14000); if (block.getTypeId() == 98) Host.Factory.BlockRestore().add(block, 98, (byte) 0, 14000); - Host.Factory.BlockRestore().add(up, block.getTypeId(), block.getData(), 10000 - (1000 * _height)); _height++;