High performance Spigot fork that aims to fix gameplay and mechanics inconsistencies
Go to file
CraftBukkit/Spigot 28e9f1ac43 Get skull data before destroying block. Fixes BUKKIT-2723
Skull blocks store their type in a tile entity and use their block data
as rotation. When breaking a block the block data is used for determining
what item to drop. Simply changing this to use the skull method for getting
their drop data is not enough because their tile entity is already gone.
Therefore we have to special case skulls to get the correct data _and_ get
that data before breaking the block.

By: Travis Watkins <amaranth@ubuntu.com>
2012-10-29 12:38:34 -05:00
paper-server Get skull data before destroying block. Fixes BUKKIT-2723 2012-10-29 12:38:34 -05:00