From 43cd0f86a928443bc38cb1635d5687b3089f16de Mon Sep 17 00:00:00 2001 From: libraryaddict Date: Sat, 24 Oct 2015 08:40:57 +1300 Subject: [PATCH] Fix players unable to break blocks at spawn --- Plugins/Mineplex.Hub/src/mineplex/hub/Hub.java | 2 ++ .../Nautilus.Game.Arcade/src/nautilus/game/arcade/Arcade.java | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/Hub.java b/Plugins/Mineplex.Hub/src/mineplex/hub/Hub.java index b578e0e37..3b957cbae 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/Hub.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/Hub.java @@ -1,5 +1,6 @@ package mineplex.hub; +import org.bukkit.Bukkit; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; @@ -71,6 +72,7 @@ public class Hub extends JavaPlugin implements IRelation @Override public void onEnable() { + Bukkit.setSpawnRadius(0); getConfig().addDefault(WEB_CONFIG, "http://accounts.mineplex.com/"); getConfig().set(WEB_CONFIG, getConfig().getString(WEB_CONFIG)); saveConfig(); diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/Arcade.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/Arcade.java index f9580a57b..0958c4c82 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/Arcade.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/Arcade.java @@ -2,10 +2,12 @@ package nautilus.game.arcade; import java.io.File; +import org.bukkit.Bukkit; import org.bukkit.entity.Player; import org.bukkit.plugin.java.JavaPlugin; import mineplex.core.FoodDupeFix; + import org.omg.CORBA._PolicyStub; import net.minecraft.server.v1_8_R3.BiomeBase; @@ -77,6 +79,7 @@ public class Arcade extends JavaPlugin @Override public void onEnable() { + Bukkit.setSpawnRadius(0); //Delete Old Games Folders DeleteFolders();