@@ -1,9 +1,9 @@
|
||||
--- a/net/minecraft/server/ItemWaterLily.java
|
||||
+++ b/net/minecraft/server/ItemWaterLily.java
|
||||
@@ -30,7 +30,15 @@
|
||||
@@ -34,7 +34,15 @@
|
||||
Fluid fluid = world.getFluid(blockposition);
|
||||
|
||||
if ((fluid.c() == FluidTypes.WATER || material == Material.ICE) && world.isEmpty(blockposition1)) {
|
||||
if ((fluid.getType() == FluidTypes.WATER || material == Material.ICE) && world.isEmpty(blockposition1)) {
|
||||
+ // CraftBukkit start - special case for handling block placement with water lilies
|
||||
+ org.bukkit.block.BlockState blockstate = org.bukkit.craftbukkit.block.CraftBlockState.getBlockState(world, blockposition1);
|
||||
world.setTypeAndData(blockposition1, Blocks.LILY_PAD.getBlockData(), 11);
|
||||
|
||||
Reference in New Issue
Block a user