Hopefully finish off the migration of side configuration
This commit is contained in:
parent
6bea59ab5e
commit
b096202137
1 changed files with 5 additions and 0 deletions
|
@ -158,6 +158,11 @@ public class TileComponentConfig implements ITileComponent
|
||||||
for(int i = 0; i < 6; i++)
|
for(int i = 0; i < 6; i++)
|
||||||
{
|
{
|
||||||
bytes[i] = nbtTags.getByte("config"+i);
|
bytes[i] = nbtTags.getByte("config"+i);
|
||||||
|
|
||||||
|
if(bytes[i] > 0)
|
||||||
|
{
|
||||||
|
bytes[i]--;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sideConfigs.put(TransmissionType.ITEM.ordinal(), bytes);
|
sideConfigs.put(TransmissionType.ITEM.ordinal(), bytes);
|
||||||
|
|
Loading…
Reference in a new issue