diff --git a/patches/api/PreCreatureSpawnEvent.patch b/patches/api/PreCreatureSpawnEvent.patch index 771151ed6b..299efb2cdd 100644 --- a/patches/api/PreCreatureSpawnEvent.patch +++ b/patches/api/PreCreatureSpawnEvent.patch @@ -48,7 +48,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + private boolean shouldAbortSpawn; + + public PreCreatureSpawnEvent(@NotNull Location location, @NotNull EntityType type, @NotNull CreatureSpawnEvent.SpawnReason reason) { -+ this.location = Preconditions.checkNotNull(location, "Location may not be null").clone(); ++ this.location = Preconditions.checkNotNull(location, "Location may not be null"); + this.type = Preconditions.checkNotNull(type, "Type may not be null"); + this.reason = Preconditions.checkNotNull(reason, "Reason may not be null"); + }