Amend last commit to fix decompile error forgot to commit

This commit is contained in:
Aikar 2020-07-22 02:15:51 -04:00
parent 9813f8a38f
commit 80153a0772

View file

@ -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) {