Fix getEntityClass full qualifier (#1967)

This commit is contained in:
Nassim Jahnke 2022-11-26 23:49:35 +01:00 committed by GitHub
parent cc95e19ba4
commit 069783a353
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -540,7 +540,7 @@ public final class MinecraftReflection {
*/
public static Class<?> getEntityClass() {
try {
return getMinecraftClass("server.level.Entity", "server.level.ServerEntity", "Entity");
return getMinecraftClass("world.entity.Entity", "Entity");
} catch (RuntimeException e) {
return fallbackMethodReturn("Entity", "entity.CraftEntity", "getHandle");
}