mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-13 00:37:57 +00:00
The Snowflake Pendant now only feezes source blocks.
This commit is contained in:
1 parent
06783c022b
commit
ca992240de
1 file changed
+1
-1
@@ -72,7 +72,7 @@ public class ItemIcePendant extends ItemBauble {
|
||||
playerIceBlocks.put(user, new ArrayList());
|
||||
|
||||
List<IceRemover> ice = playerIceBlocks.get(user);
|
||||
if(player.worldObj.getBlock(coords.posX, coords.posY, coords.posZ) == Blocks.water) {
|
||||
if(player.worldObj.getBlock(coords.posX, coords.posY, coords.posZ) == Blocks.water && player.worldObj.getBlockMetadata(coords.posX, coords.posY, coords.posZ) == 0) {
|
||||
player.worldObj.setBlock(coords.posX, coords.posY, coords.posZ, Blocks.ice);
|
||||
|
||||
if(!player.worldObj.isRemote)
|
||||
|
||||
Reference in new issue
Block a user