Sponge
Sponge copied to clipboard
ServerPlayer#setLocationAndRotation throws AbstractMethodError
Affected Product(s)
SpongeVanilla
Version
1.20.6-11.0.1-RC1749
Operating System
Linux
Java Version
21
Plugins/Mods
Plugins (18)
Minecraft v1.20.6
SpongeAPI v11.1.0-SNAPSHOT
Sponge v1.20.6-11.1.0-SNAPSHOT
SpongeVanilla v1.20.6-11.0.1-RC1749
LemonadeStand v1.0.1-SNAPSHOT
WorldEdit v7.3.3-SNAPSHOT+6787-ad03623
LemonSqueezer v1.0.1-SNAPSHOT
LuckPerms v5.4.130
spark-sponge8 v1.10.60
Treaty v1.0.0
NuVotifier v3.0.0-SNAPSHOT+9d69da2
ViaVersion v1.0.0
Orbis v1.0.0-SNAPSHOT
PacketEvents v2.4.1-SNAPSHOT
Spelare v1.0.1-SNAPSHOT
Pharus v1.0.0-SNAPSHOT
Masquerade v1.0.2-SNAPSHOT
Battlegrounds v3.1.1
Describe the bug
Calling
nearbyPlayer.setLocationAndRotation(center, Vector3d.ZERO, TELEPORT_FLAGS);
Will yield:
java.lang.AbstractMethodError: Receiver class net.minecraft.server.level.ServerPlayer does not define or inherit an implementation of the resolved method 'boolean setLocationAndRotation(org.spongepowered.api.world.server.ServerLocation, org.spongepowered.math.vector.Vector3d, java.util.EnumSet)' of interface org.spongepowered.api.entity.living.player.server.ServerPlayer.
Link to logs
No response