Clone mutable types in events when changes are discarded (#10333)
This commit is contained in:
@@ -242,7 +242,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ */
|
||||
+ @NotNull
|
||||
+ public Location getOldCenter() {
|
||||
+ return this.oldCenter;
|
||||
+ return this.oldCenter.clone();
|
||||
+ }
|
||||
+
|
||||
+ /**
|
||||
|
||||
Reference in New Issue
Block a user