mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 19:59:36 +00:00
Fixed the Petal Apothecary taking water buckets in World.isRemote. Closes #40
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user