Removed bit of code which was apparently intended to optimize movement event code but which was actually slowing the process down a bit overall
This commit is contained in:
parent
a0909ddb5c
commit
01d9f62bdd
@ -69,9 +69,6 @@ public class FactionsPlayerListener implements Listener
|
||||
@EventHandler(priority = EventPriority.NORMAL)
|
||||
public void onPlayerMove(PlayerMoveEvent event)
|
||||
{
|
||||
// Did we change block?
|
||||
if (event.getFrom().equals(event.getTo())) return;
|
||||
|
||||
Player player = event.getPlayer();
|
||||
FPlayer me = FPlayers.i.get(player);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user