From 98be92ed0c405338489edb7bd6e9a84de2baa131 Mon Sep 17 00:00:00 2001 From: sylvessa <225480449+sylvessa@users.noreply.github.com> Date: Mon, 23 Mar 2026 23:37:32 -0500 Subject: [PATCH] mfw i forget clone() --- Minecraft.Server.FourKit/Location.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Minecraft.Server.FourKit/Location.cs b/Minecraft.Server.FourKit/Location.cs index 450e869a6..478bb954a 100644 --- a/Minecraft.Server.FourKit/Location.cs +++ b/Minecraft.Server.FourKit/Location.cs @@ -184,6 +184,8 @@ public class Location return this; } + public Location clone() => new Location(LocationWorld, X, Y, Z, Yaw, Pitch); + /// public override string ToString() => $"Location(world={LocationWorld}, x={X}, y={Y}, z={Z}, yaw={Yaw}, pitch={Pitch})"; }