Fixed Entities not targeting the player entity in the world properly
@@ -10,7 +10,7 @@ import net.minecraft.server.level.ServerPlayer;
@Mixin(ServerPlayer.class)
public class ServerPlayerMixin
{
- @Redirect(method="tick", at=@At(value="INVOKE", target="Lnet/minecraft/world/entity/Entity;absMoveTo(DDDFF)V"))
+ @Redirect(method="tick", at=@At(value="INVOKE", target="Lnet/minecraft/server/level/ServerPlayer;absMoveTo(DDDFF)V"))
private void tick(ServerPlayer player, double x, double y, double z, float yaw, float pitch)
{
if(!PlayerUtils.isPlayerMountedOnCamera(player))
