Fix slot type in robot container.

This commit is contained in:
Florian Nücke
2021-01-15 16:25:40 +01:00
parent 80ed98119b
commit e97f3f408e
2 changed files with 2 additions and 2 deletions

View File

@@ -51,9 +51,9 @@ public final class RobotContainer extends AbstractContainer {
}
});
handlers.getItemHandler(DeviceTypes.CARD).ifPresent(itemHandler -> {
handlers.getItemHandler(DeviceTypes.ROBOT_MODULE).ifPresent(itemHandler -> {
for (int slot = 0; slot < itemHandler.getSlots(); slot++) {
this.addSlot(new TypedSlotItemHandler(itemHandler, DeviceTypes.CARD, slot, 38, 24 + slot * SLOT_SIZE));
this.addSlot(new TypedSlotItemHandler(itemHandler, DeviceTypes.ROBOT_MODULE, slot, 38, 24 + slot * SLOT_SIZE));
}
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB