Merge pull request #278 from Kubuxu/patch-1
Update common/buildcraft/transport/ItemFacade.java to facades won't be consumed in creative mode
This commit is contained in:
commit
f1c67bc518
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…
Reference in a new issue