@@ -7,7 +7,7 @@
|
||||
+
|
||||
public class BlockCauldron extends Block {
|
||||
|
||||
public static final BlockStateInteger LEVEL = BlockProperties.al;
|
||||
public static final BlockStateInteger LEVEL = BlockProperties.ar;
|
||||
@@ -27,8 +29,13 @@
|
||||
float f = (float) blockposition.getY() + (6.0F + (float) (3 * i)) / 16.0F;
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
world.playSound((EntityHuman) null, blockposition, SoundEffects.ITEM_BUCKET_EMPTY, SoundCategory.BLOCKS, 1.0F, 1.0F);
|
||||
}
|
||||
|
||||
return EnumInteractionResult.SUCCESS;
|
||||
return EnumInteractionResult.a(world.isClientSide);
|
||||
} else if (item == Items.BUCKET) {
|
||||
if (i == 3 && !world.isClientSide) {
|
||||
+ // CraftBukkit start
|
||||
@@ -82,7 +82,7 @@
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
return EnumInteractionResult.SUCCESS;
|
||||
return EnumInteractionResult.a(world.isClientSide);
|
||||
} else if (item == Items.POTION && PotionUtil.d(itemstack) == Potions.WATER) {
|
||||
if (i < 3 && !world.isClientSide) {
|
||||
+ // CraftBukkit start
|
||||
@@ -101,7 +101,7 @@
|
||||
+ // CraftBukkit end
|
||||
}
|
||||
|
||||
return EnumInteractionResult.SUCCESS;
|
||||
return EnumInteractionResult.a(world.isClientSide);
|
||||
@@ -116,8 +143,13 @@
|
||||
IDyeable idyeable = (IDyeable) item;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user