2014-11-30 22:16:48 +00:00
|
|
|
From 28a5cdec41be4bb97141e21bfabf8e583e4a5970 Mon Sep 17 00:00:00 2001
|
2014-07-21 20:46:54 +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-11-28 01:17:45 +00:00
|
|
|
index d1275a3..0fdfdde 100644
|
2014-07-21 20:46:54 +00:00
|
|
|
--- 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 01:17:45 +00:00
|
|
|
if (tileentityflowerpot != null && tileentityflowerpot.b() != null) {
|
|
|
|
a(world, blockposition, new ItemStack(tileentityflowerpot.b(), 1, tileentityflowerpot.c()));
|
2014-07-21 20:46:54 +00:00
|
|
|
+ tileentityflowerpot.a( null, 0 ); // Spigot
|
|
|
|
}
|
|
|
|
|
2014-11-28 01:17:45 +00:00
|
|
|
super.remove(world, blockposition, iblockdata);
|
2014-07-21 20:46:54 +00:00
|
|
|
--
|
2014-11-28 01:17:45 +00:00
|
|
|
2.1.0
|
2014-07-21 20:46:54 +00:00
|
|
|
|