Respond to PlayerMoveEvent less often

This commit is contained in:
HappyPikachu 2015-02-21 23:07:41 -05:00
parent a2f9119c82
commit 443ac6f3e3

View File

@ -891,6 +891,10 @@ public class PlayerListener implements Listener, ColorUtil {
@EventHandler
public void onPlayerMove(PlayerMoveEvent evt) {
if (evt.getFrom().getBlock().equals(evt.getTo().getBlock())) {
return;
}
if (plugin.checkQuester(evt.getPlayer().getUniqueId()) == false) {
boolean isPlayer = true;