All terminals can now have their texture rotated based on placement ( and some with the wrench )

This commit is contained in:
AlgorithmX2
2014-07-19 16:01:24 -05:00
parent 3a10671bd6
commit 642a7f162f
4 changed files with 100 additions and 38 deletions
+9 -6
View File
@@ -20,14 +20,17 @@ public class PartInterfaceTerminal extends PartMonitor
@Override
public boolean onPartActivate(EntityPlayer player, Vec3 pos)
{
if ( !player.isSneaking() )
if ( !super.onPartActivate( player, pos ) )
{
if ( Platform.isClient() )
if ( !player.isSneaking() )
{
if ( Platform.isClient() )
return true;
Platform.openGUI( player, getHost().getTile(), side, GuiBridge.GUI_INTERFACE_TERMINAL );
return true;
Platform.openGUI( player, getHost().getTile(), side, GuiBridge.GUI_INTERFACE_TERMINAL );
return true;
}
}
return false;