From ae3423b99b9b78a5ee8fab054921d965678e3f54 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sun, 24 Mar 2024 10:13:00 -0400 Subject: [PATCH] Handlers created for vault interactions --- src/engine/net/client/handlers/ItemToVaultMsgHandler.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/engine/net/client/handlers/ItemToVaultMsgHandler.java b/src/engine/net/client/handlers/ItemToVaultMsgHandler.java index 6d76e8c8..e6686541 100644 --- a/src/engine/net/client/handlers/ItemToVaultMsgHandler.java +++ b/src/engine/net/client/handlers/ItemToVaultMsgHandler.java @@ -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) return true; - ; player.getAccount().transferItemFromInventoryToVault(msg, origin); - return true; }