ProtocolLib
ProtocolLib copied to clipboard
Fix not being able to read effects from RemoveEntityEffect packet
The issue was that the Mojang Mapped Server support PR broke the ability to read potion effects from the RemoveEntityEffect packet due to world.effect.MobEffect also existing in the non mojang-mapped servers but with different functonality.
This PR fixes the issue mentioned in #1907.
Can you name an example of a server software which uses the class on a non-mojang mapped server?
These are the mojang -> spigot mappings
c net/minecraft/world/effect/MobEffect net/minecraft/world/effect/MobEffectList
c net/minecraft/world/effect/MobEffectInstance net/minecraft/world/effect/MobEffect