mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-23 19:16:14 +01:00
Fix getEntityClass full qualifier (#1967)
This commit is contained in:
parent
cc95e19ba4
commit
069783a353
@ -540,7 +540,7 @@ public final class MinecraftReflection {
|
|||||||
*/
|
*/
|
||||||
public static Class<?> getEntityClass() {
|
public static Class<?> getEntityClass() {
|
||||||
try {
|
try {
|
||||||
return getMinecraftClass("server.level.Entity", "server.level.ServerEntity", "Entity");
|
return getMinecraftClass("world.entity.Entity", "Entity");
|
||||||
} catch (RuntimeException e) {
|
} catch (RuntimeException e) {
|
||||||
return fallbackMethodReturn("Entity", "entity.CraftEntity", "getHandle");
|
return fallbackMethodReturn("Entity", "entity.CraftEntity", "getHandle");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user