mirror of
https://github.com/MassiveCraft/Factions.git
synced 2024-11-26 20:26:23 +01:00
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:
parent
7f67ca0cd6
commit
bfcfbe4cc8
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;
|
||||
|
Loading…
Reference in New Issue
Block a user