makes buckets unused while player creative mode
This commit is contained in:
parent
8d4b0eddf5
commit
4cb363db13
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ public class BlockRefinery extends BlockContainer {
|
|||
if (liquid != null) {
|
||||
int qty = ((TileRefinery) world.getBlockTileEntity(i, j, k)).fill(Orientations.Unknown, liquid, true);
|
||||
|
||||
if (qty != 0 && !BuildCraftCore.debugMode) {
|
||||
if (qty != 0 && !BuildCraftCore.debugMode && !entityplayer.capabilities.isCreativeMode) {
|
||||
entityplayer.inventory.setInventorySlotContents(entityplayer.inventory.currentItem,
|
||||
Utils.consumeItem(entityplayer.inventory.getCurrentItem()));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue