BUGFIX 406: Placing signs on Facades

Simple fix to get signs showing GUI on Pipes ( And inturn, Facades )
This commit is contained in:
NeverCast 2012-11-10 23:15:18 +13:00
parent c1c6ff28c0
commit 4c6b184ded

View file

@ -360,7 +360,9 @@ public class BlockGenericPipe extends BlockContainer {
} else if (entityplayer.getCurrentEquippedItem() == null) {
// Fall through the end of the test
} else if (entityplayer.getCurrentEquippedItem().itemID == Item.sign.shiftedIndex){
// Sign will be placed anyway, so lets show the sign gui
return false;
} else if (entityplayer.getCurrentEquippedItem().getItem() instanceof ItemPipe)
return false;
else if (entityplayer.getCurrentEquippedItem().getItem() instanceof IToolWrench) {