@ -24,19 +24,15 @@ public class ItemToVaultMsgHandler extends AbstractClientMsgHandler {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
ItemToVaultMsg msg = (ItemToVaultMsg) baseMsg;
PlayerCharacter player = origin.getPlayerCharacter();
if (player == null)
return true;
;
if (player.getAccount() == null)
player.getAccount().transferItemFromInventoryToVault(msg, origin);
}