mirror of
https://github.com/TeamMidnightDust/ThisRocks.git
synced 2025-12-16 19:05:10 +01:00
ThisRocks! 1.5.1 - Fix crash when picking Starfish
This commit is contained in:
@@ -61,7 +61,7 @@ public class Starfish extends Block implements Waterloggable {
|
||||
@Override
|
||||
public ItemStack getPickStack(BlockView world, BlockPos pos, BlockState state) {
|
||||
ItemStack stack = new ItemStack(this);
|
||||
stack.getNbt().putString("variation", state.get(STARFISH_VARIATION).asString());
|
||||
stack.getOrCreateNbt().putString("variation", state.get(STARFISH_VARIATION).asString());
|
||||
LOGGER.info(state.get(STARFISH_VARIATION).asString());
|
||||
return stack;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user