aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0158-Turtle-API.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0158-Turtle-API.patch')
-rw-r--r--patches/api/0158-Turtle-API.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/patches/api/0158-Turtle-API.patch b/patches/api/0158-Turtle-API.patch
index 4d3712fd8c..3ec867d360 100644
--- a/patches/api/0158-Turtle-API.patch
+++ b/patches/api/0158-Turtle-API.patch
@@ -65,7 +65,7 @@ index 0000000000000000000000000000000000000000..cfbc8aaf862ac90e794ee38bf8a6cb9e
+}
diff --git a/src/main/java/com/destroystokyo/paper/event/entity/TurtleLayEggEvent.java b/src/main/java/com/destroystokyo/paper/event/entity/TurtleLayEggEvent.java
new file mode 100644
-index 0000000000000000000000000000000000000000..e917e64e8ea266a3fc7387c42aad95927f0f0501
+index 0000000000000000000000000000000000000000..3029e406cd684efb5645e38711dff9c0bb7b01e4
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/event/entity/TurtleLayEggEvent.java
@@ -0,0 +1,92 @@
@@ -116,7 +116,7 @@ index 0000000000000000000000000000000000000000..e917e64e8ea266a3fc7387c42aad9592
+ */
+ @NotNull
+ public Location getLocation() {
-+ return this.location;
++ return this.location.clone();
+ }
+
+ /**
@@ -163,7 +163,7 @@ index 0000000000000000000000000000000000000000..e917e64e8ea266a3fc7387c42aad9592
+}
diff --git a/src/main/java/com/destroystokyo/paper/event/entity/TurtleStartDiggingEvent.java b/src/main/java/com/destroystokyo/paper/event/entity/TurtleStartDiggingEvent.java
new file mode 100644
-index 0000000000000000000000000000000000000000..5cdc6b0c3db43279e2bb8043922b31f750ddb3f5
+index 0000000000000000000000000000000000000000..7a2fa4a11b47e4982d1644830d7e28f12b4378ec
--- /dev/null
+++ b/src/main/java/com/destroystokyo/paper/event/entity/TurtleStartDiggingEvent.java
@@ -0,0 +1,66 @@
@@ -210,7 +210,7 @@ index 0000000000000000000000000000000000000000..5cdc6b0c3db43279e2bb8043922b31f7
+ */
+ @NotNull
+ public Location getLocation() {
-+ return this.location;
++ return this.location.clone();
+ }
+
+ @Override