Skip to content

Commit

Permalink
repair block mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
khjxiaogu committed Sep 13, 2024
1 parent af3d3b6 commit d81e7c0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ protected ItemInteractionResult useItemOn(ItemStack stack, BlockState state, Lev
if(state.is(CPBlocks.FUMAROLE_VENT)&&stack.is(CPItems.SAPA_SPICE_JAR.get())&&stack.getDamageValue()==0) {
if(!player.getAbilities().instabuild)
stack.shrink(1);
level.setBlock(pos, CPBlocks.LITHARGE_BLOOM.get().defaultBlockState(), UPDATE_ALL);
level.setBlock(pos, CPBlocks.LITHARGE_FUMAROLE_VENT.get().defaultBlockState(), UPDATE_ALL);

}
return super.useItemOn(stack, state, level, pos, player, hand, hitResult);
Expand Down

0 comments on commit d81e7c0

Please sign in to comment.