fixed NPE from teleport event

This commit is contained in:
boy0001 2014-10-18 13:36:30 +11:00
parent cb8822cd6a
commit fc9a31cbf4

View File

@ -601,7 +601,7 @@ public class PlayerEvents implements Listener {
}
else {
if (leftPlot(f, t)) {
Plot plot = getCurrentPlot(event.getTo());
Plot plot = getCurrentPlot(event.getFrom());
plotExit(event.getPlayer(), plot);
}
}