Skip to content
This repository has been archived by the owner on Sep 20, 2024. It is now read-only.

Commit

Permalink
feat: dump canHarvestWithHand
Browse files Browse the repository at this point in the history
  • Loading branch information
smartcmd committed Jun 11, 2024
1 parent b016d95 commit 661d21d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ namespace plugin {
nbt.putBoolean("canContainLiquid", block.getLegacyBlock().canContainLiquid());
// nbt->putBoolean("canBeBrokenFromFalling", block.canBeBrokenFromFalling());
nbt.putBoolean("isContainerBlock", block.isContainerBlock());
nbt.putBoolean("canHarvestWithHand", block.canDropWithAnyTool());
} catch (std::exception &e) {
logger.error("Exception caught : " + std::string(e.what()));
}
Expand Down

0 comments on commit 661d21d

Please sign in to comment.