diff --git a/Plugins/Nautilus.Game.Core/src/nautilus/game/core/GamePlugin.java b/Plugins/Nautilus.Game.Core/src/nautilus/game/core/GamePlugin.java index 6f0b38ffc..8c2c06e93 100644 --- a/Plugins/Nautilus.Game.Core/src/nautilus/game/core/GamePlugin.java +++ b/Plugins/Nautilus.Game.Core/src/nautilus/game/core/GamePlugin.java @@ -112,7 +112,7 @@ public abstract class GamePlugin extends JavaPlugin implements IRelation PacketHandler = new PacketHandler(this); _damage = new DamageManager(this, CombatManager, NpcManager, new DisguiseManager(this, PacketHandler)); _fire = new Fire(this, ConditionManager, _damage); - new Punish(this, GetWebServerAddress()); + new Punish(this, GetWebServerAddress(), ClientManager); new ServerStatusManager(this, new LagMeter(this, ClientManager)); diff --git a/Plugins/Nautilus.Game.MineKart/src/nautilus/game/minekart/MineKart.java b/Plugins/Nautilus.Game.MineKart/src/nautilus/game/minekart/MineKart.java index b786be06b..f99b91f62 100644 --- a/Plugins/Nautilus.Game.MineKart/src/nautilus/game/minekart/MineKart.java +++ b/Plugins/Nautilus.Game.MineKart/src/nautilus/game/minekart/MineKart.java @@ -108,7 +108,7 @@ public class MineKart extends JavaPlugin implements INautilusPlugin, Listener _creature = new Creature(this); - new Punish(this, GetWebServerAddress()); + new Punish(this, GetWebServerAddress(), _clientManager); new Explosion(this, _blockRestore); _teleport = new Teleport(this, _clientManager, _spawn);