Fix slot type in robot container.
This commit is contained in:
@@ -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));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
BIN
src/main/resources/assets/oc2/textures/gui/icon/robot_module.png
Normal file
BIN
src/main/resources/assets/oc2/textures/gui/icon/robot_module.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
Reference in New Issue
Block a user