From bf02ac09a47a6e8198e22f276e7a53bf7bf415ab Mon Sep 17 00:00:00 2001 From: Richard Date: Thu, 24 Dec 2015 23:07:02 -0200 Subject: [PATCH] NOW it's finished for real. --- src/me/TheBukor/SkStuff/events/WorldEditChangeHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/me/TheBukor/SkStuff/events/WorldEditChangeHandler.java b/src/me/TheBukor/SkStuff/events/WorldEditChangeHandler.java index 019e18c..34d67ea 100644 --- a/src/me/TheBukor/SkStuff/events/WorldEditChangeHandler.java +++ b/src/me/TheBukor/SkStuff/events/WorldEditChangeHandler.java @@ -17,7 +17,7 @@ public class WorldEditChangeHandler { public void wrapForLogging(EditSessionEvent event) { Actor actor = event.getActor(); World world = event.getWorld(); - if (world instanceof BukkitWorld) { + if (actor != null && world instanceof BukkitWorld) { event.setExtent(new WorldEditExtent(actor, world, event.getExtent())); } }