Fix bug where Fissure could be exploited with Arctic Armour for 'water bending', allowing players to artificially create Water towers by bending temporary ice.
This commit is contained in:
parent
b4c9bfbb57
commit
d870ff6f11
@ -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++;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user