diff options
Diffstat (limited to 'patches/api/0155-PreSpawnerSpawnEvent.patch')
-rw-r--r-- | patches/api/0155-PreSpawnerSpawnEvent.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0155-PreSpawnerSpawnEvent.patch b/patches/api/0155-PreSpawnerSpawnEvent.patch index 8ef2cd0db2..4b6bbe6f7a 100644 --- a/patches/api/0155-PreSpawnerSpawnEvent.patch +++ b/patches/api/0155-PreSpawnerSpawnEvent.patch @@ -12,7 +12,7 @@ Dropped as it does not apply due to the earlier PreCreatureSpawnEvent patch not diff --git a/src/main/java/com/destroystokyo/paper/event/entity/PreSpawnerSpawnEvent.java b/src/main/java/com/destroystokyo/paper/event/entity/PreSpawnerSpawnEvent.java new file mode 100644 -index 0000000000000000000000000000000000000000..9a450a0095ed0aa9c92655c2f4e5732bccdd59c9 +index 0000000000000000000000000000000000000000..2910f0bf929d918c86510f29d9361bbc19411256 --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/event/entity/PreSpawnerSpawnEvent.java @@ -0,0 +1,29 @@ @@ -42,6 +42,6 @@ index 0000000000000000000000000000000000000000..9a450a0095ed0aa9c92655c2f4e5732b + + @NotNull + public Location getSpawnerLocation() { -+ return this.spawnerLocation; ++ return this.spawnerLocation.clone(); + } +} |