From 45338214b077b41e0a622cd4583ba06128ec3132 Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Tue, 18 Jan 2022 19:09:04 -0800 Subject: [PATCH] Fix setSpawnedItem from 1.18 update (#7328) --- .../0321-Mob-Spawner-API-Enhancements.patch | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/patches/server/0321-Mob-Spawner-API-Enhancements.patch b/patches/server/0321-Mob-Spawner-API-Enhancements.patch index 41e2e0f229..133e40d274 100644 --- a/patches/server/0321-Mob-Spawner-API-Enhancements.patch +++ b/patches/server/0321-Mob-Spawner-API-Enhancements.patch @@ -65,10 +65,10 @@ index 30930a24c197c45f2ed86eaf7a150252005e7a37..c0f33a6cb4812e13204552c125df0621 nbt.putShort("MaxNearbyEntities", (short) this.maxNearbyEntities); nbt.putShort("RequiredPlayerRange", (short) this.requiredPlayerRange); diff --git a/src/main/java/org/bukkit/craftbukkit/block/CraftCreatureSpawner.java b/src/main/java/org/bukkit/craftbukkit/block/CraftCreatureSpawner.java -index 6c427b15f78970912bae881f5aba1cfae2a4ba53..3877376619d633f48e37b6c854ae7df77ccca456 100644 +index 6c427b15f78970912bae881f5aba1cfae2a4ba53..0af969746b1984bd5de0510f815b54815c9322bf 100644 --- a/src/main/java/org/bukkit/craftbukkit/block/CraftCreatureSpawner.java +++ b/src/main/java/org/bukkit/craftbukkit/block/CraftCreatureSpawner.java -@@ -116,4 +116,30 @@ public class CraftCreatureSpawner extends CraftBlockEntityState