forked from MagicBane/Server
create PlayerManager static class
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
package engine.powers.poweractions;
|
||||
|
||||
import engine.Enum;
|
||||
import engine.gameManager.PlayerManager;
|
||||
import engine.math.Vector3fImmutable;
|
||||
import engine.net.client.ClientConnection;
|
||||
import engine.objects.AbstractCharacter;
|
||||
@@ -57,7 +58,7 @@ public class CharmPowerAction extends AbstractPowerAction {
|
||||
return;
|
||||
|
||||
//turn mob into pet.
|
||||
owner.commandSiegeMinion(mob);
|
||||
PlayerManager.commandSiegeMinion(owner, mob);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user