Skip to content

Config option diskSizeFactor doesn't work #130

@Maxu5

Description

@Maxu5

Describe the bug
Changing config option "diskSizeFactor" to any value doesn't change the actual hard drive sizes.

To Reproduce
Steps to reproduce the behavior:

  1. Singleplayer
  2. Edit "diskSizeFactor" in config/oc2r-common.toml to 134217728
  3. Go into singleplayer world
  4. A Tier 4 HardDrive in creative tab still shows 32Mb
  5. Put a new hard drive into a computer
  6. mkfs.ext2 /dev/vdc
  7. mkdir /mnt/vdc
  8. mount /dev/vdc /mnt/vdc
  9. df -h shows Size 31.0M

Expected behavior
The size should be 128 Mb

Versions (please complete the following information):

  • Minecraft: 1.20.1
  • Forge: 47.4.10
  • oc2: 2.2.12

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions