mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-28 09:17:21 +01:00
upstream was doing a containsKey/get pattern, and always doing it at that. that scenario is only even valid if were in the middle of a block place. Optimize to check if the captured list even has values in it, and also to just do a get call since the value can never be null. |
||
---|---|---|
.. | ||
damagesource | ||
effect | ||
entity | ||
food | ||
inventory | ||
item | ||
level | ||
scores | ||
BossEvent.java.patch | ||
CompoundContainer.java.patch | ||
Container.java.patch | ||
RandomizableContainer.java.patch | ||
SimpleContainer.java.patch |