Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-2222

PlayerDeathEvent keepLevel is not set when gamerule keepInventory is true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None

      When the gamerule keepInventory is set to true, PlayerDeathEvents have getKeepInventory() as true, but not getKeepLevel(). The gamerule keeps both items and levels from being lost, but setKeepInventory(true) still allows levels to be lost.

      PlayerDeathEvents should have keepLevel set to true when the gamerule keepInventory is in effect.

            Unassigned Unassigned
            Roboboy Justin Lawen
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: