diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java b/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java index 0b30300bd..119c9be24 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/HubManager.java @@ -126,7 +126,7 @@ public class HubManager extends MiniClientPlugin DragonTextB = GetDragonText(); } - + public String GetDragonText() { File file = new File("DragonText.dat"); diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/map/MapManager.java b/Plugins/Mineplex.Hub/src/mineplex/hub/map/MapManager.java index ddde1d368..b78dd9b8e 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/map/MapManager.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/map/MapManager.java @@ -70,17 +70,16 @@ public class MapManager extends MiniPlugin _url = args[0]; caller.getInventory().addItem(GetMap()); - if (args.length > 1) { if (args[1].equals("all")) { for (Player player : UtilServer.getPlayers()) - { - player.getInventory().remove(Material.MAP); - + { if (player.equals(caller)) continue; + + player.getInventory().remove(Material.MAP); player.getInventory().addItem(GetMap()); }