Fixed punish constructor bugs for dom/mk
This commit is contained in:
parent
2af6da79d2
commit
e27f01e916
@ -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));
|
||||
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user