Makes buckets while player creative mode
This commit is contained in:
parent
1f9e6f6303
commit
8d4b0eddf5
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ public class BlockTank extends BlockContainer {
|
|||
if (liquid != null) {
|
||||
int qty = tank.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(current));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue