Safely handle cancelled inventory open events on vaults by checking if inventory is null AFTER it's opened. Resolves #354
This commit is contained in:
@@ -78,7 +78,6 @@ public class VaultManager {
|
||||
inv = i;
|
||||
}
|
||||
}
|
||||
PlayerVaults.getInstance().getOpenInventories().put(info.toString(), inv);
|
||||
|
||||
return inv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user