Renamed class to not conflict with the java.lang version.
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
|
||||
package engine.powers.poweractions;
|
||||
|
||||
import engine.Enum;
|
||||
import engine.mbEnums;
|
||||
import engine.gameManager.SessionManager;
|
||||
import engine.gameManager.ZoneManager;
|
||||
import engine.math.Vector3fImmutable;
|
||||
@@ -40,7 +40,7 @@ public class SummonPowerAction extends AbstractPowerAction {
|
||||
protected void _startAction(AbstractCharacter source, AbstractWorldObject awo, Vector3fImmutable targetLoc, int trains, ActionsBase ab,
|
||||
PowersBase pb) {
|
||||
|
||||
if (source == null || awo == null || !(awo.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)) || !(source.getObjectType().equals(Enum.GameObjectType.PlayerCharacter)))
|
||||
if (source == null || awo == null || !(awo.getObjectType().equals(mbEnums.GameObjectType.PlayerCharacter)) || !(source.getObjectType().equals(mbEnums.GameObjectType.PlayerCharacter)))
|
||||
return;
|
||||
|
||||
PlayerCharacter target = (PlayerCharacter) awo;
|
||||
@@ -61,7 +61,7 @@ public class SummonPowerAction extends AbstractPowerAction {
|
||||
location, false);
|
||||
|
||||
Dispatch dispatch = Dispatch.borrow(target, rsrm);
|
||||
DispatchMessage.dispatchMsgDispatch(dispatch, Enum.DispatchChannel.SECONDARY);
|
||||
DispatchMessage.dispatchMsgDispatch(dispatch, mbEnums.DispatchChannel.SECONDARY);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user