summaryrefslogtreecommitdiffstats
path: root/nms-patches
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2018-07-23 10:43:45 +1000
committermd_5 <git@md-5.net>2018-07-23 10:43:45 +1000
commit11542134c810ee3f2daadbcad246fac033746a87 (patch)
treeeea353fcb30943345bbcb2a11bc4c8729692606d /nms-patches
parent5b93c39d4b5b3c27a8761e8ee3e765523ecc5f64 (diff)
downloadcraftbukkit-11542134c810ee3f2daadbcad246fac033746a87.tar
craftbukkit-11542134c810ee3f2daadbcad246fac033746a87.tar.gz
craftbukkit-11542134c810ee3f2daadbcad246fac033746a87.tar.lz
craftbukkit-11542134c810ee3f2daadbcad246fac033746a87.tar.xz
craftbukkit-11542134c810ee3f2daadbcad246fac033746a87.zip
SPIGOT-4109: Wall skulls not dropping
Diffstat (limited to 'nms-patches')
-rw-r--r--nms-patches/PlayerInteractManager.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/nms-patches/PlayerInteractManager.patch b/nms-patches/PlayerInteractManager.patch
index cfc3a711..c16937cd 100644
--- a/nms-patches/PlayerInteractManager.patch
+++ b/nms-patches/PlayerInteractManager.patch
@@ -199,7 +199,7 @@
Block block = iblockdata.getBlock();
+ // CraftBukkit start - Special case skulls, their item data comes from a tile entity (Also check if block should drop items)
-+ if (iblockdata.getBlock() instanceof BlockSkull && !this.isCreative() && event.isDropItems()) {
++ if (iblockdata.getBlock() instanceof BlockSkullAbstract && !this.isCreative() && event.isDropItems()) {
+ iblockdata.getBlock().dropNaturally(iblockdata, world, blockposition, 1.0F, 0);
+ return this.c(blockposition);
+ }