3
0
Mirror von https://github.com/PaperMC/Paper.git synchronisiert 2024-11-15 20:40:07 +01:00
Paper/CraftBukkit-Patches/0050-Clear-Flower-Pot-on-Drop.patch

22 Zeilen
855 B
Diff

2015-01-05 04:32:01 +01:00
From 0af3275ff3ea1e41a07a5d22f36f311eb356c7e8 Mon Sep 17 00:00:00 2001
From: md_5 <md_5@live.com.au>
Date: Tue, 3 Dec 2013 11:07:48 +1100
Subject: [PATCH] Clear Flower Pot on Drop
diff --git a/src/main/java/net/minecraft/server/BlockFlowerPot.java b/src/main/java/net/minecraft/server/BlockFlowerPot.java
2014-11-28 02:17:45 +01:00
index d1275a3..0fdfdde 100644
--- a/src/main/java/net/minecraft/server/BlockFlowerPot.java
+++ b/src/main/java/net/minecraft/server/BlockFlowerPot.java
@@ -90,6 +90,7 @@ public class BlockFlowerPot extends BlockContainer {
2014-11-28 02:17:45 +01:00
if (tileentityflowerpot != null && tileentityflowerpot.b() != null) {
a(world, blockposition, new ItemStack(tileentityflowerpot.b(), 1, tileentityflowerpot.c()));
+ tileentityflowerpot.a( null, 0 ); // Spigot
}
2014-11-28 02:17:45 +01:00
super.remove(world, blockposition, iblockdata);
--
2014-11-28 02:17:45 +01:00
2.1.0