diff options
Diffstat (limited to 'patches/api/0260-Add-worldborder-events.patch')
-rw-r--r-- | patches/api/0260-Add-worldborder-events.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0260-Add-worldborder-events.patch b/patches/api/0260-Add-worldborder-events.patch index 1c889b6cdd..9f3ae70435 100644 --- a/patches/api/0260-Add-worldborder-events.patch +++ b/patches/api/0260-Add-worldborder-events.patch @@ -202,7 +202,7 @@ index 0000000000000000000000000000000000000000..a44964593b7f78c5086dc4928e75ad89 +} diff --git a/src/main/java/io/papermc/paper/event/world/border/WorldBorderCenterChangeEvent.java b/src/main/java/io/papermc/paper/event/world/border/WorldBorderCenterChangeEvent.java new file mode 100644 -index 0000000000000000000000000000000000000000..a90f67e902c6ae35b2399e6f72a3ff8a5c15d05a +index 0000000000000000000000000000000000000000..dd96dcc0dd68d71bf27c758ed496153d434fb386 --- /dev/null +++ b/src/main/java/io/papermc/paper/event/world/border/WorldBorderCenterChangeEvent.java @@ -0,0 +1,79 @@ @@ -242,7 +242,7 @@ index 0000000000000000000000000000000000000000..a90f67e902c6ae35b2399e6f72a3ff8a + */ + @NotNull + public Location getOldCenter() { -+ return this.oldCenter; ++ return this.oldCenter.clone(); + } + + /** |