Advertisement
Guest User

craft

a guest
Jun 29th, 2020
43
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. diff --git a/L2JHellasC/java/com/l2jhellas/gameserver/network/clientpackets/RequestRecipeShopMakeInfo.java b/L2JHellasC/java/com/l2jhellas/gameserver/network/clientpackets/RequestRecipeShopMakeInfo.java
  2. index 8a5c9fc..a1e457f 100644
  3. --- a/L2JHellasC/java/com/l2jhellas/gameserver/network/clientpackets/RequestRecipeShopMakeInfo.java
  4. +++ b/L2JHellasC/java/com/l2jhellas/gameserver/network/clientpackets/RequestRecipeShopMakeInfo.java
  5. @@ -26,8 +26,8 @@
  6. if (player == null)
  7. return;
  8.  
  9. - final L2PcInstance shop = L2World.getInstance().getPlayer(player.getName());
  10. -
  11. + final L2PcInstance shop = L2World.getInstance().getPlayer(_playerObjectId);
  12. +
  13. if (shop == null || _playerObjectId != shop.getObjectId() || shop.getPrivateStoreType() != StoreType.MANUFACTURE)
  14. return;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement