2014-03-23 00:06:43 +00:00
|
|
|
From 12f40424d9f22422e3ccabdd0738611b07f1cd38 Mon Sep 17 00:00:00 2001
|
2013-12-03 00:08:07 +00: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
|
2014-03-23 00:06:43 +00:00
|
|
|
index ca6f4f0..0fa90b4 100644
|
2013-12-03 00:08:07 +00:00
|
|
|
--- a/src/main/java/net/minecraft/server/BlockFlowerPot.java
|
|
|
|
+++ b/src/main/java/net/minecraft/server/BlockFlowerPot.java
|
2014-03-23 00:06:43 +00:00
|
|
|
@@ -90,6 +90,7 @@ public class BlockFlowerPot extends BlockContainer {
|
2013-12-03 00:08:07 +00:00
|
|
|
|
|
|
|
if (tileentityflowerpot != null && tileentityflowerpot.a() != null) {
|
|
|
|
this.a(world, i, j, k, new ItemStack(tileentityflowerpot.a(), 1, tileentityflowerpot.b()));
|
|
|
|
+ tileentityflowerpot.a( null, 0 ); // Spigot
|
|
|
|
}
|
|
|
|
|
|
|
|
super.remove(world, i, j, k, block, l);
|
|
|
|
--
|
2014-03-23 00:06:43 +00:00
|
|
|
1.8.5.2.msysgit.0
|
2013-12-03 00:08:07 +00:00
|
|
|
|