Skip to content

Commit

Permalink
Add item capability
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfieboy09 committed Oct 29, 2024
1 parent cb918f6 commit 777a4a9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ public class QSCapabilities {
@SubscribeEvent
public static void register(@NotNull RegisterCapabilitiesEvent event) {
event.registerBlockEntity(Capabilities.EnergyStorage.BLOCK, QSBlockEntities.DISK_ASSEMBLER.get(), DiskAssemblerBlockEntity::getEnergyHandler);
// event.registerBlockEntity(Capabilities.ItemHandler.BLOCK, QSBlockEntities.DISK_ASSEMBLER.get(), (block, dir) -> block.getInventoryHandler());
event.registerBlockEntity(Capabilities.ItemHandler.BLOCK, QSBlockEntities.DISK_ASSEMBLER.get(), (block, dir) -> block.getInventoryHandler());
}
}

0 comments on commit 777a4a9

Please sign in to comment.