Skip to content

Commit e553db8

Browse files
Change bonkHatch.getBonk() to bonkHandler.getbonk() in Custom-Ingredient.md (#3990)
1 parent 34b27dc commit e553db8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/content/Development/Recipe-Logic/Custom-Ingredient.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public class BonkHatchPartMachine extends TieredIOPartMachine {
267267
protected InteractionResult onHardHammerClick(Player playerIn, InteractionHand hand, Direction gridSide, BlockHitResult hitResult) {
268268
if(isRemote()) return InteractionResult.SUCCESS;
269269
if(bonkHandler.addBonk(1, false)){
270-
playerIn.sendSystemMessage(Component.literal("Bonk! Total bonk stored: " + bonkHatch.getBonk()));
270+
playerIn.sendSystemMessage(Component.literal("Bonk! Total bonk stored: " + bonkHandler.getBonk()));
271271
return InteractionResult.CONSUME;
272272
}
273273
return super.onHardHammerClick(playerIn, hand, gridSide, hitResult);
@@ -414,4 +414,4 @@ public class BonkGTAddon implements IGTAddon {
414414
}
415415
}
416416

417-
```
417+
```

0 commit comments

Comments
 (0)