feat: add isAlwaysDestroyable
导出
This commit is contained in:
@@ -656,4 +656,7 @@ void Export_Compatibility_API() {
|
||||
RemoteCall::exportAs("GMLIB_API", "blockCanDropWithAnyTool", [](Block const* block) -> bool {
|
||||
return block->canDropWithAnyTool();
|
||||
});
|
||||
RemoteCall::exportAs("GMLIB_API", "blockIsAlwaysDestroyable", [](Block const* block) -> bool {
|
||||
return block->getMaterial().isAlwaysDestroyable();
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user