summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/net/minecraft/server/BlockIce.java2
-rw-r--r--src/main/java/net/minecraft/server/BlockSnow.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/net/minecraft/server/BlockIce.java b/src/main/java/net/minecraft/server/BlockIce.java
index a9bb77a6..16044958 100644
--- a/src/main/java/net/minecraft/server/BlockIce.java
+++ b/src/main/java/net/minecraft/server/BlockIce.java
@@ -29,7 +29,7 @@ public class BlockIce extends BlockBreakable {
if (world.a(EnumSkyBlock.BLOCK, i, j, k) > 11 - Block.q[this.id]) {
// CraftBukkit start
org.bukkit.block.BlockState blockState = world.getWorld().getBlockAt(i, j, k).getState();
- blockState.setTypeId(this.id);
+ blockState.setTypeId(Block.STATIONARY_WATER.id);
BlockFadeEvent event = new BlockFadeEvent(blockState.getBlock(), blockState);
world.getServer().getPluginManager().callEvent(event);
diff --git a/src/main/java/net/minecraft/server/BlockSnow.java b/src/main/java/net/minecraft/server/BlockSnow.java
index 31a91064..22fa603e 100644
--- a/src/main/java/net/minecraft/server/BlockSnow.java
+++ b/src/main/java/net/minecraft/server/BlockSnow.java
@@ -79,7 +79,7 @@ public class BlockSnow extends Block {
if (world.a(EnumSkyBlock.BLOCK, i, j, k) > 11) {
// CraftBukkit start
org.bukkit.block.BlockState blockState = world.getWorld().getBlockAt(i, j, k).getState();
- blockState.setTypeId(this.id);
+ blockState.setTypeId(0);
BlockFadeEvent event = new BlockFadeEvent(blockState.getBlock(), blockState);
world.getServer().getPluginManager().callEvent(event);