diff --git a/paper-server/patches/sources/net/minecraft/core/dispenser/DefaultDispenseItemBehavior.java.patch b/paper-server/patches/sources/net/minecraft/core/dispenser/DefaultDispenseItemBehavior.java.patch index fcdecd3dc5..ea53919bd2 100644 --- a/paper-server/patches/sources/net/minecraft/core/dispenser/DefaultDispenseItemBehavior.java.patch +++ b/paper-server/patches/sources/net/minecraft/core/dispenser/DefaultDispenseItemBehavior.java.patch @@ -52,10 +52,10 @@ double d = position.x(); double d1 = position.y(); double d2 = position.z(); -@@ -44,6 +_,45 @@ +@@ -43,7 +_,45 @@ + level.random.triangle(0.2, 0.0172275 * speed), level.random.triangle(facing.getStepZ() * d3, 0.0172275 * speed) ); - level.addFreshEntity(itemEntity); + return itemEntity; // CraftBukkit + } + @@ -91,7 +91,7 @@ + return false; + } + -+ level.addFreshEntity(itemEntity); + level.addFreshEntity(itemEntity); + + return true; + // CraftBukkit end