aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0453-Clone-mutables-to-prevent-unexpected-issues.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0453-Clone-mutables-to-prevent-unexpected-issues.patch')
-rw-r--r--patches/api/0453-Clone-mutables-to-prevent-unexpected-issues.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/api/0453-Clone-mutables-to-prevent-unexpected-issues.patch b/patches/api/0453-Clone-mutables-to-prevent-unexpected-issues.patch
index e84ea7d3aa..e99c290635 100644
--- a/patches/api/0453-Clone-mutables-to-prevent-unexpected-issues.patch
+++ b/patches/api/0453-Clone-mutables-to-prevent-unexpected-issues.patch
@@ -50,10 +50,10 @@ index 099efafa14c10910e4ed04abb1823f0c1a96b6a6..8506fa03293c575c35b55b0522248074
/**
diff --git a/src/main/java/org/bukkit/event/entity/EntityPortalEnterEvent.java b/src/main/java/org/bukkit/event/entity/EntityPortalEnterEvent.java
-index 6818e9f0ba32ca1a1e612703f7526b29f5a6438f..e4e3d2e22c28ef251d76c48ade267b4eb3749e7d 100644
+index d3724db0a5a67cde15b05fecd32b2ca370cca998..8b2caf665b9e829ceefc89bf41b192f53f3d5773 100644
--- a/src/main/java/org/bukkit/event/entity/EntityPortalEnterEvent.java
+++ b/src/main/java/org/bukkit/event/entity/EntityPortalEnterEvent.java
-@@ -24,7 +24,7 @@ public class EntityPortalEnterEvent extends EntityEvent {
+@@ -35,7 +35,7 @@ public class EntityPortalEnterEvent extends EntityEvent implements org.bukkit.ev
*/
@NotNull
public Location getLocation() {
@@ -61,7 +61,7 @@ index 6818e9f0ba32ca1a1e612703f7526b29f5a6438f..e4e3d2e22c28ef251d76c48ade267b4e
+ return location.clone(); // Paper - clone to avoid changes
}
- @NotNull
+ // Paper start
diff --git a/src/main/java/org/bukkit/event/entity/ItemDespawnEvent.java b/src/main/java/org/bukkit/event/entity/ItemDespawnEvent.java
index 6fc66197eb2c5d59c70d8d028b7963748371edbe..2bb29fa449cd6c90b52d2786ed15b6154d591607 100644
--- a/src/main/java/org/bukkit/event/entity/ItemDespawnEvent.java