3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2025-01-07 13:50:10 +01:00
Commit graph

1 Commits

Autor SHA1 Nachricht Datum
Tamion
1a4778d260
Fix PlayerSwapHandItemsEvent NPE when a hand set to null (#9763)
* Fix PlayerSwapHandItemsEvent throwing exception when mainhand or offhand set to null

* use fully qualified import

* Use ItemStack#empty() instead of new ItemStack

* Add NotNull annotation to getters

* Add missing Paper comments
2023-10-10 15:38:25 -07:00