NOW it's finished for real.

This commit is contained in:
Richard 2015-12-24 23:07:02 -02:00
parent 2a23535239
commit bf02ac09a4

View File

@ -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()));
}
}