Fix not being able to read effects from RemoveEntityEffect packet (#1908)

fix being unable to read from RemoveEntityEffect due to wrong alias order
This commit is contained in:
lennoxlotl 2022-11-26 23:54:33 +01:00 committed by GitHub
parent 069783a353
commit 86e586da26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -867,7 +867,7 @@ public final class MinecraftReflection {
}
public static Class<?> getMobEffectListClass() {
return getMinecraftClass("world.effect.MobEffectList", "world.effect.MobEffect", "MobEffectList");
return getMinecraftClass("world.effect.MobEffectList", "MobEffectList", "world.effect.MobEffect");
}
public static Class<?> getSoundEffectClass() {