public void onPlayerMove(PlayerMoveEvent event) {
	if (event.isCancelled()) {
	    return;
	}
	if (!Config.isCreativeModeEnabled()) {
	    return;
	}
	PlanArea fromArea = BuildingPlanner.plugin.areaManager.getAffectedArea(event.getFrom());

	PlanArea toArea = BuildingPlanner.plugin.areaManager.getAffectedArea(event.getTo());

	if (fromArea == null && toArea != null) {
	    event.getPlayer().setGameMode(GameMode.CREATIVE);
	} else if (fromArea != null && toArea == null) {
	    event.getPlayer().setGameMode(GameMode.SURVIVAL);

	}
    };