@EventHandler
    public void onMove(PlayerMoveEvent event) {
        if (Hub.alreadySending.contains(event.getPlayer().getName())) {
            if (event.getTo().getY() == event.getFrom().getY() || event.getTo().getX() == event.getFrom().getX() || event.getTo().getZ() == event.getFrom().getZ())
                return;

            event.setTo(event.getFrom());
        }

        if (Core.getState() == State.WARMUP) {
            if (event.getFrom().getPitch() != event.getTo().getPitch() || event.getFrom().getYaw() != event.getTo().getYaw())
                return;

            event.setTo(event.getFrom());
        }
    }