mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 15:00:13 +01:00
5f134afc4b
For each player on each tick, enter block triggers are invoked, and these create loot contexts that are promptly thrown away since the trigger doesn't pass the predicate To avoid this, we now lazily create the LootContext if the criterion passes the predicate AND if any of the listener triggers require a loot context instance |
||
---|---|---|
.. | ||
patches/sources | ||
src | ||
.gitignore | ||
build.gradle.kts | ||
LGPL.txt | ||
LICENCE.txt |