Fixed the Petal Apothecary taking water buckets in World.isRemote. Closes #40

This commit is contained in:
Vasco Lavos committed 2014-05-13 18:45:26 +01:00
1 parent 391ffaa889
commit b85a0e70ce
1 file changed
+1 -1
@@ -38,7 +38,7 @@ public class TileAltar extends TileSimpleInventory implements ISidedInventory {
return false;
if(!hasWater) {
if(stack.getItem() == Items.water_bucket) {
if(stack.getItem() == Items.water_bucket && !worldObj.isRemote) {
hasWater = true;
worldObj.func_147453_f(xCoord, yCoord, zCoord, worldObj.getBlock(xCoord, yCoord, zCoord));
stack.func_150996_a(Items.bucket); // Set item