@EventHandler
	public void onPlayerMove(PlayerMoveEvent event) {

		//HyperPVP.checkWorlds();

		/*if (event.getPlayer().getWorld() == HyperPVP.getDefaultWorld()) {
			int max = 66; // 500
			int least = -65; // -500

			if (event.getTo().getX() > max || event.getTo().getX() < least) {
				moveBack("You can't fly any further.", event);
			}

			if (event.getTo().getZ() > max || event.getTo().getZ() < least) {
				moveBack("You can't fly any further.", event);
			}
		}*/

		if (!HyperPVP.isCycling()) {
			for (Region region : HyperPVP.getMap().getRegions(RegionType.MAP)) {

				if (!region.hasLocation(event.getTo()) && event.getTo().getWorld() == HyperPVP.getMap().getWorld()) {
					moveBack(region.getAlert(), event);
				}
			}
		}

		/*if (HyperPVP.getGameSessions().containsKey(event.getPlayer().getName())) {

			Session session = HyperPVP.getSession(event.getPlayer());

			for (Region region : HyperPVP.getMap().getRegions(RegionType.TEAM)) {

				if (!region.getTeamWhitelist().contains(session.getTeam().getColor())) {

					if (region.hasLocation(event.getTo())) {
						moveBack(region.getAlert(), event);
					}
				} else {
					if (region.hasLocation(event.getTo())) {
						event.getPlayer().setFireTicks(0);
					}
				}
			}
		}*/
	}