Cannot purchase items from offline player's shop #1282


  • Defect
  • Plugin Issue
Open
  • Talmore created this issue Mar 13, 2019

     

    Plugin Version

    ChestShop v3.9.3-SNAPSHOT (build 115)

     

    Plugin Config

    https://pastebin.com/Jv5Cx3Y7

     

    Server Version

    paper-564 MC 1.13.2

      

    What other plugins are you running?

    Iconomy

    Vault

    Towny

    Essentials

     

    What is happening?

    If a player attempts to purchase an item from a shop while the shop owner is offline they get a message: "[Shop] Economy account froms hop owner doesn't exist!"  the following error is generated in console https://pastebin.com/11wrUN2n

     

    What did you expect to happen?

    I expected the players to be able to purchase items from offline players

     

  • Talmore added a tag Defect Mar 13, 2019
  • Phoenix616 posted a comment Mar 14, 2019

    Basically the issue is that Bukkit#getOfflinePlayer(UUID) returns a player with a null username. Some economy plugins/vault do not properly use the player's UUID but try to use the username (which is null in that case). This needs to be fixed in these plugins.

     

    Corresponding github issue. Potentially related to issue #1264.

  • Phoenix616 added a tag Plugin Issue Mar 14, 2019

To post a comment, please login or register a new account.