I was watching a video about the mod and they mentioned that the guest OS was limited to one core, so I decided to go through the code and try to find the misbehaving line of code. I believe I have succeeded in this. This pull request changes line 619 in GuiPCEditing.java to use Math.max instead of Math.min. I tested this by compiling the mod with my change and turning on the pc in-game and then checking VirtualBox to see if the core count was set correctly, which it was.
I was watching a video about the mod and they mentioned that the guest OS was limited to one core, so I decided to go through the code and try to find the misbehaving line of code. I believe I have succeeded in this. This pull request changes line 619 in GuiPCEditing.java to use Math.max instead of Math.min. I tested this by compiling the mod with my change and turning on the pc in-game and then checking VirtualBox to see if the core count was set correctly, which it was.
If you're curious this was the video.