From 13fb77a27342fbecd00eec3f9b4c4c6db92ebdb7 Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Mon, 26 Dec 2016 23:55:09 -0500 Subject: [PATCH] Added more informational dialouge --- .../components/hotfix/hotfixes/CreativeKillLoop.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/buttondevteam/alipresents/components/hotfix/hotfixes/CreativeKillLoop.java b/src/buttondevteam/alipresents/components/hotfix/hotfixes/CreativeKillLoop.java index cc5a3aa..e8f7680 100644 --- a/src/buttondevteam/alipresents/components/hotfix/hotfixes/CreativeKillLoop.java +++ b/src/buttondevteam/alipresents/components/hotfix/hotfixes/CreativeKillLoop.java @@ -22,12 +22,15 @@ public class CreativeKillLoop extends BukkitRunnable implements Listener { if (player.getGameMode() == GameMode.SURVIVAL) continue; if (!player.getWorld().getName().equalsIgnoreCase("world")) continue; if (player.isOp()) continue; + + player.sendMessage("[Hotfix] Every Gamemode other than survival is disabled in the new world"); + player.setGameMode(GameMode.SURVIVAL); location = player.getLocation(); if (location.getBlockX() < 250 && location.getBlockX() > -250) continue; if (location.getBlockZ() < 250 && location.getBlockZ() > -250) continue; - player.sendMessage("[Hotfix] Every Gamemode other than survival is disabled in the new world!"); + player.sendMessage("[Hotfix] Unless you are in Spawn Island!"); player.setGameMode(GameMode.SURVIVAL); }