forked from MagicBane/Server
Removed custom exception candy
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
|
||||
package engine.net.client.handlers;
|
||||
|
||||
import engine.exception.MsgSendException;
|
||||
import engine.gameManager.*;
|
||||
import engine.math.Vector3fImmutable;
|
||||
import engine.mbEnums;
|
||||
@@ -237,7 +236,7 @@ public class VendorDialogMsgHandler extends AbstractClientMsgHandler {
|
||||
return false;
|
||||
}
|
||||
|
||||
private static boolean finishMessage(VendorDialogMsg msg, ClientConnection origin) throws MsgSendException {
|
||||
private static boolean finishMessage(VendorDialogMsg msg, ClientConnection origin) {
|
||||
msg.updateMessage(4, 0);
|
||||
Dispatch dispatch = Dispatch.borrow(origin.getPlayerCharacter(), msg);
|
||||
DispatchManager.dispatchMsgDispatch(dispatch, DispatchChannel.SECONDARY);
|
||||
@@ -522,7 +521,7 @@ public class VendorDialogMsgHandler extends AbstractClientMsgHandler {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
|
||||
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
|
||||
|
||||
PlayerCharacter playerCharacter = SessionManager.getPlayerCharacter(origin);
|
||||
VendorDialogMsg msg = (VendorDialogMsg) baseMsg;
|
||||
|
||||
Reference in New Issue
Block a user