A few bug fixes, added recipes for Security Desk

This commit is contained in:
aidancbrady committed 2016-03-21 19:43:03 -04:00
1 parent a18da2ad27
commit c481180088
16 files changed
+76 -26

No files matched your search

@@ -671,6 +671,24 @@ public class BlockMachine extends BlockContainer implements ISpecialBounds, IBlo
return true;
}
break;
case TELEPORTER:
case QUANTUM_ENTANGLOPORTER:
if(!entityplayer.isSneaking())
{
String owner = ((ISecurityTile)tileEntity).getSecurity().getOwner();
if(owner == null || entityplayer.getCommandSenderName().equals(owner))
{
entityplayer.openGui(Mekanism.instance, type.guiId, world, x, y, z);
}
else {
SecurityUtils.displayNoAccess(entityplayer);
}
return true;
}
break;
default:
if(!entityplayer.isSneaking() && type.guiId != -1)