From 8c427bee24a3da440d3a625714d2d4b8112452e6 Mon Sep 17 00:00:00 2001 From: Jonathan Williams Date: Fri, 26 Jun 2015 03:57:39 -0500 Subject: [PATCH] Fix _gameDisplay bug. Fix Skywars quickmenu link. --- Plugins/Mineplex.Hub/src/mineplex/hub/server/ServerManager.java | 2 +- .../Nautilus.Game.Arcade/src/nautilus/game/arcade/GameType.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Plugins/Mineplex.Hub/src/mineplex/hub/server/ServerManager.java b/Plugins/Mineplex.Hub/src/mineplex/hub/server/ServerManager.java index 249b6ac14..bba026899 100644 --- a/Plugins/Mineplex.Hub/src/mineplex/hub/server/ServerManager.java +++ b/Plugins/Mineplex.Hub/src/mineplex/hub/server/ServerManager.java @@ -722,7 +722,7 @@ public class ServerManager extends MiniPlugin public ServerNpcShop getSKYShop() { - return _serverNpcShopMap.get("Skywars"); + return _serverNpcShopMap.get("SkyWars"); } public ServerNpcShop getPlayerGamesShop() diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/GameType.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/GameType.java index 30c319f5e..fe73d8673 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/GameType.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/GameType.java @@ -136,6 +136,7 @@ public enum GameType GameType(Class gameClass, GameDisplay display, String resourcePackUrl, boolean enforceResourcePack) { + _display = display; _gameClass = gameClass; _resourcePack = resourcePackUrl; _enforceResourcePack = enforceResourcePack;