mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 20:22:05 -07:00
More compile error fixes
This commit is contained in:
@@ -213,7 +213,7 @@ index 6ab4c78b35..76142d5dc2 100644
|
||||
super(entitytypes, world);
|
||||
this.f = 5;
|
||||
diff --git a/src/main/java/net/minecraft/server/EntityTypes.java b/src/main/java/net/minecraft/server/EntityTypes.java
|
||||
index 01d9ed69c5..65ad9243f8 100644
|
||||
index 01d9ed69c5..3217a8ed18 100644
|
||||
--- a/src/main/java/net/minecraft/server/EntityTypes.java
|
||||
+++ b/src/main/java/net/minecraft/server/EntityTypes.java
|
||||
@@ -0,0 +0,0 @@ import com.mojang.datafixers.types.Type;
|
||||
@@ -224,6 +224,17 @@ index 01d9ed69c5..65ad9243f8 100644
|
||||
import java.util.UUID;
|
||||
import java.util.function.Function;
|
||||
import java.util.stream.Stream;
|
||||
@@ -0,0 +0,0 @@ public class EntityTypes<T extends Entity> {
|
||||
return this.bi.height;
|
||||
}
|
||||
|
||||
- @Nullable
|
||||
- public T a(World world) {
|
||||
+ public T create(World world) { return this.a(world); } // Paper - OBFHELPER
|
||||
+ @Nullable public T a(World world) { // Paper - OBFHELPER
|
||||
return this.aZ.create(this, world);
|
||||
}
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/ItemStack.java b/src/main/java/net/minecraft/server/ItemStack.java
|
||||
index e975265a28..aa6a58dd88 100644
|
||||
--- a/src/main/java/net/minecraft/server/ItemStack.java
|
||||
|
Reference in New Issue
Block a user