Fixed punish constructor bugs for dom/mk

This commit is contained in:
Jonathan Williams 2013-11-06 21:36:00 -08:00
parent 2af6da79d2
commit e27f01e916
2 changed files with 2 additions and 2 deletions

View File

@ -112,7 +112,7 @@ public abstract class GamePlugin extends JavaPlugin implements IRelation
PacketHandler = new PacketHandler(this); PacketHandler = new PacketHandler(this);
_damage = new DamageManager(this, CombatManager, NpcManager, new DisguiseManager(this, PacketHandler)); _damage = new DamageManager(this, CombatManager, NpcManager, new DisguiseManager(this, PacketHandler));
_fire = new Fire(this, ConditionManager, _damage); _fire = new Fire(this, ConditionManager, _damage);
new Punish(this, GetWebServerAddress()); new Punish(this, GetWebServerAddress(), ClientManager);
new ServerStatusManager(this, new LagMeter(this, ClientManager)); new ServerStatusManager(this, new LagMeter(this, ClientManager));

View File

@ -108,7 +108,7 @@ public class MineKart extends JavaPlugin implements INautilusPlugin, Listener
_creature = new Creature(this); _creature = new Creature(this);
new Punish(this, GetWebServerAddress()); new Punish(this, GetWebServerAddress(), _clientManager);
new Explosion(this, _blockRestore); new Explosion(this, _blockRestore);
_teleport = new Teleport(this, _clientManager, _spawn); _teleport = new Teleport(this, _clientManager, _spawn);