Skip to content

Commit 153dbe0

Browse files
committed
Fix heated flooring only removing ice.
1 parent 079bdfd commit 153dbe0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

aestuscraft_common/dk/kiljacken/aestuscraft/core/tiles/TileHeatedFlooring.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public void updateEntity()
6060
{
6161
int y = yCoord + yOff;
6262
int blockId = worldObj.getBlockId(x, y, z);
63-
int newBlockId = 0;
63+
int newBlockId = -1;
6464

6565
// TODO: Make meltable blocks configurable via IMC
6666
if (blockId == Block.snow.blockID)
@@ -72,7 +72,7 @@ else if (blockId == Block.ice.blockID)
7272
newBlockId = Block.waterMoving.blockID;
7373
}
7474

75-
if (newBlockId != 0)
75+
if (newBlockId != -1)
7676
{
7777
worldObj.setBlock(x, y, z, newBlockId, 0, 3);
7878
didWork = true;

0 commit comments

Comments
 (0)