testserver/CraftBukkit-Patches/0049-Clear-Flower-Pot-on-Dr...

22 lines
855 B
Diff
Raw Normal View History

2015-05-25 12:05:40 +00:00
From d60fd451c6d5fc23094f8323735234ab64028dd7 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
2015-02-28 11:36:22 +00:00
index fd77047..ce46138 100644
--- a/src/main/java/net/minecraft/server/BlockFlowerPot.java
+++ b/src/main/java/net/minecraft/server/BlockFlowerPot.java
2015-02-28 11:36:22 +00:00
@@ -95,6 +95,7 @@ public class BlockFlowerPot extends BlockContainer {
2014-11-28 01:17:45 +00: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 01:17:45 +00:00
super.remove(world, blockposition, iblockdata);
--
2015-05-09 20:23:26 +00:00
2.1.4