Clearing inventory on PlayerQuitEvent causes Issue

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major
    • None
    • Affects Version/s: None
    • Environment:

      This server is running CraftBukkit version git-Spigot-f928e7a-e91aed8 (MC: 1.8.7) (Implementing API version 1.8.7-R0.1-SNAPSHOT)

      When you do event.getPlayer().getInventory().clear() when a player disconnects from the server, when they re-join their inventory is cleared but if they had an item such as a diamond sword in their hand when they reconnect, they will still have the attack damage of that sword but on their fist.

            Assignee:
            Unassigned
            Reporter:
            Zack Pollard
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: