Minor change to recently added teleport enforcing to (hopefully) be

pre and post #888 compatible for now.
This commit is contained in:
Evenprime 2011-06-18 16:54:17 +02:00
parent 1ddd1ca6c9
commit a37daefa63

View File

@ -468,8 +468,6 @@ public class MovingCheck extends Check {
data.worldChanged = !event.getFrom().getWorld().getName().equals(event.getTo().getWorld().getName());
}
data.teleportTo = null;
}
/**
@ -584,9 +582,9 @@ public class MovingCheck extends Check {
event.setTo(t);
event.setCancelled(true);
data.teleportTo = null;
}
data.teleportTo = null;
}