mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 14:52:58 +00:00
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:
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 {
|
||||
|
||||
Reference in new issue
Block a user