Security Term now displays a message when there is no power.

Removed "No Message" Sorting.
You can no longer insert a biometric card for the Admin.
This commit is contained in:
AlgorithmX2
2014-02-02 13:00:57 -06:00
parent 9aa8d416aa
commit 93ac258ee7
4 changed files with 21 additions and 3 deletions
+4
View File
@@ -115,6 +115,10 @@ public class SecurityInventory implements IMEInventoryHandler<IAEItemStack>
IBiometricCard tbc = (IBiometricCard) input.getItem();
String newUser = tbc.getUsername( input.getItemStack() );
int PlayerID = AEApi.instance().registries().players().getID( newUser );
if ( securityTile.getOwner() == PlayerID )
return false;
for (IAEItemStack ais : storedItems)
{
if ( ais.isMeaninful() )