Metamorph

Metamorph

4M Downloads

Teleport Action triggers NoSuchMethod on Server

mallrat208 opened this issue ยท 1 comments

commented

Version: Metamorph 1.1.2 for 1.10.2

Whenever a player uses the Teleport ability on a dedicated server, the console logs a NoSuchMethodError. We ran into this on the Coop Life server.
GrimCo/CoopLife#11

From what I can tell the problem lies in the fact that Entity getPositionEyes is a Client Only method.

You should be able to replace that call with something like this...

Vec3d pos = new Vec3d(target.posX, target.posY + (double)target.getEyeHeight(), target.posZ)
commented

@mallrat208 whoops... Thanks for reporting and providing the solution! It will be included in 1.1.3 and released either today or tomorrow.