Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ShrBox committed Jan 17, 2023
1 parent 01d045e commit 0dfbc0d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion LiteLoader/src/llapi/mc/BlockInstanceAPI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,16 @@ Container* BlockInstance::getContainer() {
case 38:
case 39:
return SymCall("?getContainer@ChemistryTableBlockActor@@UEBAPEBVContainer@@XZ", Container*, BlockActor*)(be);
break;
case 2:
case 13:
case 14:
case 25:
case 33:
case 42:
return SymCall("?getContainer@ChestBlockActor@@UEBAPEBVContainer@@XZ", Container*, BlockActor*)(be);
}
return SymCall("?getContainer@ChestBlockActor@@UEBAPEBVContainer@@XZ", Container*, BlockActor*)(be);
return nullptr;
}

bool BlockInstance::breakNaturally(bool isCreativeMode) {
Expand Down

0 comments on commit 0dfbc0d

Please sign in to comment.