Skip to content

IRP is not Saving Inventory After Death #180

@slyleight

Description

@slyleight

Server details:

  • Server version: This server is running UniverseSpigot version 1.21.3-ver/1.21.3-stable@6a50f37 (2025-01-13T13:25:32Z) (Implementing API version 1.21.3-R0.1-SNAPSHOT)
    Universe-1.21.3-6a50f37 (MC: 1.21.3)

  • IRP Version: v1.6.21

Bug description:

-When a player dies, the IRP restore shows their chest as empty.
-We have KeepInventory enabled and a region with item drops disabled in one world, and the inventory is saved as expected when players die there.
-However, in the normal world where both of these options are disabled, the player's inventory is always empty upon death. It seems like the IRP saves the inventory after the player dies and their items drop. We didn't have this issue in 1.20.4, so it appears to be a new problem for us.

  • Just to let you know, the player's XP level is always saved in both scenarios.

How to reproduce:

  • Kill a player in a normal world where KeepInventory disabled, the irp restore backup shows their inventory empty but the XP level is saved.

Logs, screenshots & other:

It saves the level but not the inventory (Normal vanilla world)
Image

Inventory when player dies in a KeepInventory enabled or region with itemdrops disabled.

Image

Additional info:

  • I don’t think we’ve done anything wrong. Is there a setting for this, or is it a bug specific to our server? Back when we hosted the server on 1.20.4, it was working as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUnintended functionality that requires an update to fix

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions