From 80153a077282378256ce4add5b4a1896ff204480 Mon Sep 17 00:00:00 2001 From: Aikar <aikar@aikar.co> Date: Wed, 22 Jul 2020 02:15:51 -0400 Subject: [PATCH] Amend last commit to fix decompile error forgot to commit --- ...dvancementDataPlayer-leak-due-from-quitting-ear.patch | 9 +++++++++ 1 file changed, 9 insertions(+) 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) {