From 3c154072d34f92b2b12b37ca7655678c96f625c1 Mon Sep 17 00:00:00 2001 From: Brokkonaut <hannos17@gmx.de> Date: Fri, 11 Aug 2017 03:32:07 +0200 Subject: [PATCH] MC-94186 Fix dragon egg falling in lazy chunks Fixes falling dragon eggs in lazy chunks fall to the block below the last empty block and replacing that block with them. See also https://bugs.mojang.com/browse/MC-94186 --- ...ix-dragon-egg-falling-in-lazy-chunks.patch | 23 +++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Spigot-Server-Patches/MC-94186-Fix-dragon-egg-falling-in-lazy-chunks.patch diff --git a/Spigot-Server-Patches/MC-94186-Fix-dragon-egg-falling-in-lazy-chunks.patch b/Spigot-Server-Patches/MC-94186-Fix-dragon-egg-falling-in-lazy-chunks.patch new file mode 100644 index 0000000000..7127e53d6f --- /dev/null +++ b/Spigot-Server-Patches/MC-94186-Fix-dragon-egg-falling-in-lazy-chunks.patch @@ -0,0 +1,23 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Brokkonaut <hannos17@gmx.de> +Date: Fri, 11 Aug 2017 03:29:26 +0200 +Subject: [PATCH] MC-94186 Fix dragon egg falling in lazy chunks + +Fixes falling dragon eggs in lazy chunks fall to the block below the last empty block and replacing that block with them. + +See also https://bugs.mojang.com/browse/MC-94186 + +diff --git a/src/main/java/net/minecraft/server/BlockDragonEgg.java b/src/main/java/net/minecraft/server/BlockDragonEgg.java +index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 +--- a/src/main/java/net/minecraft/server/BlockDragonEgg.java ++++ b/src/main/java/net/minecraft/server/BlockDragonEgg.java +@@ -0,0 +0,0 @@ public class BlockDragonEgg extends Block { + } + + if (blockposition1.getY() > 0) { +- world.setTypeAndData(blockposition1, this.getBlockData(), 2); ++ world.setTypeAndData(blockposition1.up(), this.getBlockData(), 2); + } + } + +-- \ No newline at end of file