2018-01-18 07:00:51 +01:00
|
|
|
From 5868a14449bc00fb1d1c5709425f34d6e06dc9ce Mon Sep 17 00:00:00 2001
|
2017-08-11 03:32:07 +02:00
|
|
|
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
|
2018-01-16 04:13:17 +01:00
|
|
|
index ce186f825..291342c90 100644
|
2017-08-11 03:32:07 +02:00
|
|
|
--- a/src/main/java/net/minecraft/server/BlockDragonEgg.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/BlockDragonEgg.java
|
|
|
|
@@ -44,7 +44,7 @@ public class BlockDragonEgg extends Block {
|
|
|
|
}
|
|
|
|
|
|
|
|
if (blockposition1.getY() > 0) {
|
|
|
|
- world.setTypeAndData(blockposition1, this.getBlockData(), 2);
|
2017-08-12 02:23:35 +02:00
|
|
|
+ world.setTypeAndData(blockposition1.up(), this.getBlockData(), 2); // Paper
|
2017-08-11 03:32:07 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
--
|
2018-01-18 07:00:51 +01:00
|
|
|
2.16.1
|
2017-08-11 03:32:07 +02:00
|
|
|
|