diff --git a/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/customPlayerMoveEvent/CustomPlayerMoveEventHandler.java b/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/customPlayerMoveEvent/CustomPlayerMoveEventHandler.java index 4dd3065..d95da8e 100644 --- a/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/customPlayerMoveEvent/CustomPlayerMoveEventHandler.java +++ b/src/main/java/eu/ruekov/ruakij/LinkedBeaconTeleporters/customPlayerMoveEvent/CustomPlayerMoveEventHandler.java @@ -52,7 +52,9 @@ public class CustomPlayerMoveEventHandler { if(distance > 0) locationChangeListeners(e); } - else + else if(loc.getBlockX() != oldLoc.getBlockX() || + loc.getBlockY() != oldLoc.getBlockY() || + loc.getBlockZ() != oldLoc.getBlockZ()) locationChangeListeners(e); }