forked from MagicBane/Server
DispatchManager is now an official manager singleton.
This commit is contained in:
@@ -12,7 +12,7 @@ package engine.powers.poweractions;
|
||||
import engine.mbEnums;
|
||||
import engine.math.Vector3fImmutable;
|
||||
import engine.net.Dispatch;
|
||||
import engine.net.DispatchMessage;
|
||||
import engine.gameManager.DispatchManager;
|
||||
import engine.net.client.msg.PromptRecallMsg;
|
||||
import engine.objects.*;
|
||||
import engine.powers.ActionsBase;
|
||||
@@ -63,7 +63,7 @@ public class RunegateTeleportPowerAction extends AbstractPowerAction {
|
||||
if (rg != null) {
|
||||
PromptRecallMsg promptRecallMsgmsg = new PromptRecallMsg();
|
||||
Dispatch dispatch = Dispatch.borrow(pc, promptRecallMsgmsg);
|
||||
DispatchMessage.dispatchMsgDispatch(dispatch, mbEnums.DispatchChannel.SECONDARY);
|
||||
DispatchManager.dispatchMsgDispatch(dispatch, mbEnums.DispatchChannel.SECONDARY);
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user