mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-22 18:45:54 +01:00
Amend last commit to fix decompile error forgot to commit
This commit is contained in:
parent
f503db37c6
commit
cc25ae47c0
@ -24,7 +24,7 @@ index d3387a4e16f81b820d40502d2c46ebb3db88f824..17789407b9e86896a963a305a1335728
|
||||
this.d = datafixer;
|
||||
this.e = playerlist;
|
||||
diff --git a/src/main/java/net/minecraft/server/CriterionTriggerAbstract.java b/src/main/java/net/minecraft/server/CriterionTriggerAbstract.java
|
||||
index 2419c57f90f40516cb4b4cedcda2c7d58523c3bc..d69ff9ca7a842cea715129f7f38972bed691a625 100644
|
||||
index 2419c57f90f40516cb4b4cedcda2c7d58523c3bc..5fd81933f8ba30d165fb3fdf25aaf94917637539 100644
|
||||
--- a/src/main/java/net/minecraft/server/CriterionTriggerAbstract.java
|
||||
+++ b/src/main/java/net/minecraft/server/CriterionTriggerAbstract.java
|
||||
@@ -12,25 +12,25 @@ import java.util.function.Predicate;
|
||||
@ -75,3 +75,12 @@ index 2419c57f90f40516cb4b4cedcda2c7d58523c3bc..d69ff9ca7a842cea715129f7f38972be
|
||||
|
||||
if (set != null && !set.isEmpty()) {
|
||||
LootTableInfo loottableinfo = CriterionConditionEntity.b(entityplayer, entityplayer);
|
||||
@@ -63,7 +63,7 @@ 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user