Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 04:20:08 +01:00
SPIGOT-4109: Wall skulls not dropping
Dieser Commit ist enthalten in:
Ursprung
5b93c39d4b
Commit
11542134c8
@ -199,7 +199,7 @@
|
|||||||
Block block = iblockdata.getBlock();
|
Block block = iblockdata.getBlock();
|
||||||
|
|
||||||
+ // CraftBukkit start - Special case skulls, their item data comes from a tile entity (Also check if block should drop items)
|
+ // 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);
|
+ iblockdata.getBlock().dropNaturally(iblockdata, world, blockposition, 1.0F, 0);
|
||||||
+ return this.c(blockposition);
|
+ return this.c(blockposition);
|
||||||
+ }
|
+ }
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren