Skip to content

[BUG] Presents do not drop contents on dedicated server #101

@Not-February

Description

@Not-February

Describe the bug
This seems similar to #69 but exclusively doesn't work on a dedicated server(which is where you'd actually want to give your friends presents!).

It works in single player without problems when I test it there. Another discrepancy I'm noticing(maybe related to the problem?) is that in single player(where it works), using the placed present without opening it says "A present wrapped by [insert mc username here]! (Sneak-Use to open)". On the server, it instead says "A present wrapped by ???! (Sneak-Use to open)"

To Reproduce

  1. Create present on dedicated server environment
  2. Pack present with any item(s)
  3. Place present down
  4. Use without sneaking to verify who created the present is ??? instead of your username
  5. Sneak-use present to open it
  6. Watch as no items come out; it just fizzles

As far as I can tell, extra wrapping decorations like dyes or flowers don't affect this at all - not including anything at all makes it happen just as well as if you'd added something to decorate it

Expected behavior
For the packed items to pop out of the present instead of disappearing

Minecraft version
1.21.1

Mod version
Pastel 1.0.6-BETA

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions