mirror of
https://github.com/songoda/UltimateStacker.git
synced 2024-11-23 10:35:22 +01:00
Null check for isStacked.
This commit is contained in:
parent
0efcd158f8
commit
98193e5f9a
@ -54,6 +54,7 @@ public class EntityStackManager {
|
||||
}
|
||||
|
||||
public boolean isStacked(Entity entity) {
|
||||
if (entity == null) return false;
|
||||
boolean isStacked = isStacked(entity.getUniqueId());
|
||||
if (!isStacked && addSerializedStack(entity) != null) {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user