Use security utils for checking access to teleporter and quantum entangloporter (#5431)

* Use security utils for checking access to teleporter and quantum entangloporter
Also add the security tab to the corresponding gui's

* Ensure tile gets saved when security mode changes
This commit is contained in:
Richard Freimer authored and Xander committed 2019-04-30 22:13:25 +08:00
1 parent 075673fc56
commit 445556fef7
4 files changed
+7 -20

No files matched your search

@@ -32,6 +32,7 @@ public class PacketSecurityMode implements IMessageHandler<SecurityModeMessage,
if (owner != null && player.getUniqueID().equals(owner)) {
((ISecurityTile) tileEntity).getSecurity().setMode(message.value);
tileEntity.markDirty();
}
}
} else {