Update common/buildcraft/transport/ItemFacade.java
Facades won't be consumed in creative mode.
This commit is contained in:
parent
00e9a42027
commit
189e46221e
1 changed files with 2 additions and 1 deletions
|
@ -77,7 +77,8 @@ public class ItemFacade extends ItemBuildCraft {
|
|||
return true;
|
||||
} else {
|
||||
if (((TileGenericPipe)tile).addFacade(Orientations.values()[side], ItemFacade.getBlockId(stack.getItemDamage()), ItemFacade.getMetaData(stack.getItemDamage()))){
|
||||
stack.stackSize--;
|
||||
if (!player.capabilities.isCreativeMode)
|
||||
stack.stackSize--;
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue