mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 11:18:23 +01:00
SPIGOT-4109: Wall skulls not dropping
By: md_5 <git@md-5.net>
This commit is contained in:
parent
9633bcece9
commit
1ca1c1cbfd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
+ }
|
||||
|
|
Loading…
Add table
Reference in a new issue