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

@ -44,7 +44,7 @@ public class SetWarpCommand {
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 w = new Warp(p.getUUID(), string, false, true, dest);
WarpCreatedEvent event = new WarpCreatedEvent(w);
if(MinecraftForge.EVENT_BUS.post(event)){