2015-07-27 14:20:54 +02:00
|
|
|
From 89eb6b05e7135406df9ca8300dd018432b763e27 Mon Sep 17 00:00:00 2001
|
2014-07-21 22:46:54 +02:00
|
|
|
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 12:36:22 +01:00
|
|
|
index fd77047..ce46138 100644
|
2014-07-21 22:46:54 +02:00
|
|
|
--- a/src/main/java/net/minecraft/server/BlockFlowerPot.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/BlockFlowerPot.java
|
2015-02-28 12:36:22 +01:00
|
|
|
@@ -95,6 +95,7 @@ public class BlockFlowerPot extends BlockContainer {
|
2014-07-21 22:46:54 +02:00
|
|
|
|
2014-11-28 02:17:45 +01:00
|
|
|
if (tileentityflowerpot != null && tileentityflowerpot.b() != null) {
|
|
|
|
a(world, blockposition, new ItemStack(tileentityflowerpot.b(), 1, tileentityflowerpot.c()));
|
2014-07-21 22:46:54 +02:00
|
|
|
+ tileentityflowerpot.a( null, 0 ); // Spigot
|
|
|
|
}
|
|
|
|
|
2014-11-28 02:17:45 +01:00
|
|
|
super.remove(world, blockposition, iblockdata);
|
2014-07-21 22:46:54 +02:00
|
|
|
--
|
2015-05-09 22:23:26 +02:00
|
|
|
2.1.4
|
2014-07-21 22:46:54 +02:00
|
|
|
|