PaperMC/patches
Owen1212055 2dd20a5904 Add TeleportFlags (#8855)
Abstracts relative teleport flags and instead makes a generic TeleportFlag option. This has the benefit of being able to easily add new flags in the future.
This adds a new flag, which allows you to keep inventories open when teleporting players (vanilla behavior).

These are breaking changes to the teleport api, however, it's still marked as experimental so I find this a fair change.
2023-03-04 17:07:23 -05:00
..
api Add TeleportFlags (#8855) 2023-03-04 17:07:23 -05:00
server Add TeleportFlags (#8855) 2023-03-04 17:07:23 -05:00