Skip to content

Commit

Permalink
Update PlayerStatueBlock.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Dec 29, 2023
1 parent 06dd518 commit 5104b71
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public void onRemove(BlockState state, Level level, BlockPos pos, BlockState new
}

@Override
public ItemStack pickupBlock(@Nullable Player p_294786_, LevelAccessor level, BlockPos pos, BlockState state) {
public ItemStack pickupBlock(@Nullable Player player, LevelAccessor level, BlockPos pos, BlockState state) {
BlockEntity blockEntity = level.getBlockEntity(pos);
if (blockEntity instanceof PlayerBlockEntity) {
return getStatueWithName(level, pos, state);
Expand Down

0 comments on commit 5104b71

Please sign in to comment.