Fix compile errors

This commit is contained in:
zontreck 2023-11-19 08:41:51 -07:00
parent 9edbf4ee8a
commit aa4cd9b0b9
9 changed files with 10 additions and 10 deletions

View file

@ -43,7 +43,7 @@ public class RTPWarpCommand {
Vec3 position = p.position();
Vec2 rot = p.getRotationVector();
TeleportDestination dest = new TeleportDestination(new Vector3(position), new Vector2(rot), p.getLevel());
TeleportDestination dest = new TeleportDestination(new Vector3(position), new Vector2(rot), p.serverLevel());
Warp warp = new Warp(p.getUUID(), string, true, true, dest);
WarpCreatedEvent event = new WarpCreatedEvent(warp);
if(MinecraftForge.EVENT_BUS.post(event))