mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 15:30:19 +01:00
Merge pull request #853 from Brokkonaut/dragon-egg-falling
I forgot the // Paper comment
This commit is contained in:
commit
b22423be8b
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
|||
From e9577b1f4799d717f92f48e7335c87ecd0148ac5 Mon Sep 17 00:00:00 2001
|
||||
From 508f6e194029ca5a47d116688528c827c83dc8c7 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
|
||||
|
@ -8,7 +8,7 @@ Fixes falling dragon eggs in lazy chunks fall to the block below the last empty
|
|||
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 ce186f8..521fa4a 100644
|
||||
index ce186f8..291342c 100644
|
||||
--- 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 {
|
||||
|
@ -16,7 +16,7 @@ index ce186f8..521fa4a 100644
|
|||
|
||||
if (blockposition1.getY() > 0) {
|
||||
- world.setTypeAndData(blockposition1, this.getBlockData(), 2);
|
||||
+ world.setTypeAndData(blockposition1.up(), this.getBlockData(), 2);
|
||||
+ world.setTypeAndData(blockposition1.up(), this.getBlockData(), 2); // Paper
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue