diff --git a/Spigot-Server-Patches/Fix-AdvancementDataPlayer-leak-due-from-quitting-ear.patch b/Spigot-Server-Patches/Fix-AdvancementDataPlayer-leak-due-from-quitting-ear.patch index 9d5c0a783c..45217c120f 100644 --- a/Spigot-Server-Patches/Fix-AdvancementDataPlayer-leak-due-from-quitting-ear.patch +++ b/Spigot-Server-Patches/Fix-AdvancementDataPlayer-leak-due-from-quitting-ear.patch @@ -75,3 +75,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 if (set != null && !set.isEmpty()) { LootTableInfo loottableinfo = CriterionConditionEntity.b(entityplayer, entityplayer); +@@ -0,0 +0,0 @@ public abstract class CriterionTriggerAbstract<T extends CriterionInstanceAbstra + + while (iterator.hasNext()) { + criteriontrigger_a = (CriterionTrigger.a) iterator.next(); +- T t0 = (CriterionInstanceAbstract) criteriontrigger_a.a(); ++ T t0 = (T) criteriontrigger_a.a(); // Paper - decompile fix + + if (t0.b().a(loottableinfo) && predicate.test(t0)) { + if (list == null) {