mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-26 20:46:59 +01:00
22 lines
855 B
Diff
22 lines
855 B
Diff
From bd63427a6f92101ddffc41dc923144b9802cd5a8 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
|
|
index fd77047..ce46138 100644
|
|
--- a/src/main/java/net/minecraft/server/BlockFlowerPot.java
|
|
+++ b/src/main/java/net/minecraft/server/BlockFlowerPot.java
|
|
@@ -95,6 +95,7 @@ public class BlockFlowerPot extends BlockContainer {
|
|
|
|
if (tileentityflowerpot != null && tileentityflowerpot.b() != null) {
|
|
a(world, blockposition, new ItemStack(tileentityflowerpot.b(), 1, tileentityflowerpot.c()));
|
|
+ tileentityflowerpot.a( null, 0 ); // Spigot
|
|
}
|
|
|
|
super.remove(world, blockposition, iblockdata);
|
|
--
|
|
2.1.0
|
|
|