ProtocolLib icon indicating copy to clipboard operation
ProtocolLib copied to clipboard

Fix not being able to read effects from RemoveEntityEffect packet

Open lennoxlotl opened this issue 3 years ago • 2 comments

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.

lennoxlotl avatar Sep 13 '22 20:09 lennoxlotl

Can you name an example of a server software which uses the class on a non-mojang mapped server?

derklaro avatar Oct 02 '22 15:10 derklaro

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

jpenilla avatar Nov 25 '22 20:11 jpenilla