Update for new Bukkit version; fix for movement between different territory claims not always reporting the correct territory owner, which appears to be caused by event.getTo() for PlayerMoveEvent currently (as of RB 953) not always giving the correct location

This commit is contained in:
Brettflan committed 2011-07-03 15:25:50 -05:00
1 parent 7f67ca0cd6
commit bfcfbe4cc8
2 files changed
+1 -1

No files matched your search

Binary file not shown.
@@ -150,7 +150,7 @@ public class FactionsPlayerListener extends PlayerListener{
// Did we change coord?
FLocation from = me.getLastStoodAt();
FLocation to = new FLocation(event.getTo());
FLocation to = new FLocation(event.getPlayer().getLocation());
if (from.equals(to)) {
return;