Shove decompile fixes into the proper patch
This commit is contained in:
@@ -36,7 +36,7 @@ This change will result in some major changes to fishing formulas.
|
||||
I would love to see this change in Vanilla, so Mojang please pull :)
|
||||
|
||||
diff --git a/src/main/java/com/destroystokyo/paper/PaperConfig.java b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||
index 7fba61a6d..c8f9c45e5 100644
|
||||
index 7fba61a6d3..c8f9c45e5d 100644
|
||||
--- a/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||
+++ b/src/main/java/com/destroystokyo/paper/PaperConfig.java
|
||||
@@ -0,0 +0,0 @@ public class PaperConfig {
|
||||
@@ -53,7 +53,7 @@ index 7fba61a6d..c8f9c45e5 100644
|
||||
+ }
|
||||
}
|
||||
diff --git a/src/main/java/net/minecraft/server/LootSelectorEntry.java b/src/main/java/net/minecraft/server/LootSelectorEntry.java
|
||||
index 929053491..62cac814d 100644
|
||||
index 1016325bd7..2c979e0b74 100644
|
||||
--- a/src/main/java/net/minecraft/server/LootSelectorEntry.java
|
||||
+++ b/src/main/java/net/minecraft/server/LootSelectorEntry.java
|
||||
@@ -0,0 +0,0 @@ import org.apache.commons.lang3.ArrayUtils;
|
||||
@@ -68,28 +68,6 @@ index 929053491..62cac814d 100644
|
||||
private final BiFunction<ItemStack, LootTableInfo, ItemStack> c;
|
||||
private final LootEntry h = new LootSelectorEntry.c() {
|
||||
@@ -0,0 +0,0 @@ public abstract class LootSelectorEntry extends LootEntryAbstract {
|
||||
@Override
|
||||
public T b(LootItemFunction.a lootitemfunction_a) {
|
||||
this.c.add(lootitemfunction_a.b());
|
||||
- return (LootSelectorEntry.a) this.d();
|
||||
+ return this.d(); // Paper - decompile fix -- move to mcdev fixes
|
||||
}
|
||||
|
||||
protected LootItemFunction[] a() {
|
||||
@@ -0,0 +0,0 @@ public abstract class LootSelectorEntry extends LootEntryAbstract {
|
||||
|
||||
public T a(int i) {
|
||||
this.a = i;
|
||||
- return (LootSelectorEntry.a) this.d();
|
||||
+ return this.d(); // Paper - decompile fix -- move to mcdev fixes
|
||||
}
|
||||
|
||||
public T b(int i) {
|
||||
this.b = i;
|
||||
- return (LootSelectorEntry.a) this.d();
|
||||
+ return this.d(); // Paper - decompile fix -- MOVE UP
|
||||
}
|
||||
}
|
||||
|
||||
public abstract class c implements LootEntry {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user