diff options
author | md_5 <git@md-5.net> | 2018-07-23 10:43:45 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-07-23 10:43:45 +1000 |
commit | 11542134c810ee3f2daadbcad246fac033746a87 (patch) | |
tree | eea353fcb30943345bbcb2a11bc4c8729692606d /nms-patches | |
parent | 5b93c39d4b5b3c27a8761e8ee3e765523ecc5f64 (diff) | |
download | craftbukkit-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.patch | 2 |
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); + } |