diff options
Diffstat (limited to 'patches/api/0247-Add-StructuresLocateEvent.patch')
-rw-r--r-- | patches/api/0247-Add-StructuresLocateEvent.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0247-Add-StructuresLocateEvent.patch b/patches/api/0247-Add-StructuresLocateEvent.patch index ae3aef5102..746b674c5d 100644 --- a/patches/api/0247-Add-StructuresLocateEvent.patch +++ b/patches/api/0247-Add-StructuresLocateEvent.patch @@ -176,7 +176,7 @@ index 0000000000000000000000000000000000000000..1ac3369455972aeb1ade5dc023d1f818 +} diff --git a/src/main/java/io/papermc/paper/event/world/StructuresLocateEvent.java b/src/main/java/io/papermc/paper/event/world/StructuresLocateEvent.java new file mode 100644 -index 0000000000000000000000000000000000000000..be86894561ff808d911e123b09bda72c9ed09185 +index 0000000000000000000000000000000000000000..582af444b058708638683e7d6f9b79685c04c061 --- /dev/null +++ b/src/main/java/io/papermc/paper/event/world/StructuresLocateEvent.java @@ -0,0 +1,213 @@ @@ -241,7 +241,7 @@ index 0000000000000000000000000000000000000000..be86894561ff808d911e123b09bda72c + * @return {@link Location} where search begins + */ + public @NotNull Location getOrigin() { -+ return this.origin; ++ return this.origin.clone(); + } + + /** |