diff --git a/me/storage/SecurityInventory.java b/me/storage/SecurityInventory.java index ae0f1968..5c72ccd6 100644 --- a/me/storage/SecurityInventory.java +++ b/me/storage/SecurityInventory.java @@ -125,7 +125,10 @@ public class SecurityInventory implements IMEInventoryHandler if ( ais.isMeaninful() ) { GameProfile thisUser = tbc.getProfile( ais.getItemStack() ); - if ( thisUser.equals( newUser ) ) + if ( thisUser == newUser ) + return false; + + if ( thisUser != null && thisUser.equals( newUser ) ) return false; } }