diff --git a/FoxCore b/FoxCore index bb2c1df..ffe5952 160000 --- a/FoxCore +++ b/FoxCore @@ -1 +1 @@ -Subproject commit bb2c1df8edf4ae08cd2eece90e9a666a83471c88 +Subproject commit ffe59528ce46ef3882be92045f2126535bcfd2d2 diff --git a/src/main/java/net/foxdenstudio/sponge/foxguard/plugin/listener/ExplosionListener.java b/src/main/java/net/foxdenstudio/sponge/foxguard/plugin/listener/ExplosionListener.java index e902947..922b7cc 100644 --- a/src/main/java/net/foxdenstudio/sponge/foxguard/plugin/listener/ExplosionListener.java +++ b/src/main/java/net/foxdenstudio/sponge/foxguard/plugin/listener/ExplosionListener.java @@ -64,7 +64,7 @@ public void handle(ExplosionEvent.Detonate event) throws Exception { } World world = event.getTargetWorld(); - Vector3d pos = event.getExplosion().getOrigin(); + Vector3d pos = event.getExplosion().getLocation().getPosition(); FlagBitSet flags = (FlagBitSet) FLAG_SET.clone(); List handlerList = new ArrayList<>(); FGManager.getInstance().getRegionsInChunkAtPos(world, pos).stream()