Small fix
This commit is contained in:
parent
f309af077b
commit
b5ca1df3d1
2 changed files with 2 additions and 1 deletions
|
@ -99,7 +99,7 @@ public class EternalPedestal extends PedestalBlock {
|
|||
}
|
||||
List<ItemStack> drop = Lists.newArrayList();
|
||||
BlockEntity blockEntity = builder.getNullable(LootContextParameters.BLOCK_ENTITY);
|
||||
if (blockEntity != null && blockEntity instanceof EternalPedestalEntity) {
|
||||
if (blockEntity instanceof EternalPedestalEntity) {
|
||||
EternalPedestalEntity pedestal = (EternalPedestalEntity) blockEntity;
|
||||
if (!pedestal.isEmpty()) {
|
||||
drop.add(pedestal.getStack(0));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue