fix channel display

This commit is contained in:
PrototypeTrousers
2023-07-31 02:58:34 -03:00
parent 59c7dd1285
commit e16d90333b
6 changed files with 23 additions and 27 deletions
@@ -48,7 +48,7 @@ public class ChannelInfoProvider implements IPartProbInfoProvider {
if (part.getGridNode().isActive()) {
final NBTTagCompound tmp = new NBTTagCompound();
part.writeToNBT(tmp);
usedChannels = tmp.getByte("usedChannels");
usedChannels = tmp.getInteger("usedChannels");
} else {
usedChannels = 0;
}