mirror of
https://github.com/songoda/FabledSkyBlock.git
synced 2024-09-29 23:17:26 +02:00
Fix npe in entity explode
This commit is contained in:
parent
4121ecc769
commit
c6791b104e
@ -364,7 +364,7 @@ public class Entity implements Listener {
|
||||
Island island = islandManager.getIslandAtLocation(entity.getLocation());
|
||||
plugin.getPermissionManager().processPermission(event, null, island);
|
||||
|
||||
if (!event.isCancelled()) {
|
||||
if (!event.isCancelled() && island != null) {
|
||||
|
||||
StackableManager stackableManager = plugin.getStackableManager();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user