GregTech CE Unofficial

GregTech CE Unofficial

412k Downloads

Tape is deleted from maintenance hatches when loading world

Dr-Turtle opened this issue ยท 0 comments

commented

GregTech CEu Version

2.5.4-beta

Modpack Used

No response

Addons Installed

No response

Environment

Singleplayer and Forge Server (both Linux)

New Worlds

Yes

Cross-Mod Interaction

No

Expected Behavior

Tape should remain in maintenance hatches when reloading worlds

Actual Behavior

Tape is deleted from maintenance hatches when reloading worlds

Steps to Reproduce

1: Place a maintenance hatch or configurable maintenance hatch
2: Put tape inside the maintenance hatch
3: Leave world and load it again

Additional Information

Reverting 651996a fixes this issue
Maintenance hatches also don't drop tape when broken
Maintenance hatches placed when using gtceu 2.5.0-beta that had tape at the time of updating will always have that much tape when the world loads, even if it is removed (i.e tape gets duplicated)

block data for a hatch placed in 2.5.0-beta
{
  id:"gregtech:machine",
  x:-537,
  y:93,
  z:971,
  ForgeCaps:{
    "nuclearcraft:capability_default_radiation_resistance":{
      radiationResistance:0.0d
    }
  },
  CustomName:"",
  MetaId:"gregtech:maintenance_hatch_configurable",
  MetaTileEntity:{
    FrontFacing:3,
    CachedLightValue:0,
  ImportInventory:[{
    Slot:0,
    id:"gregtech:meta_item_1",
    Count:12,
    Damage:502s
  }],
  ExportInventory:[],
  ImportFluidInventory:{
    TankAmount:0,
    Tanks:[]
  },
  ExportFluidInventory:{
    TankAmount:0,
    Tanks:[]
  },
  Covers:[],
  Fragile:0b,
  Muffled:0b,
  IsTaped:0b,
  DurationMultiplier:0.9d
  }
}
block data for a hatch placed in 2.5.4-beta:
{
  id:"gregtech:machine",
  x:-535,
  y:93,
  z:971,
  ForgeCaps:{
    "nuclearcraft:capability_default_radiation_resistance":{
      radiationResistance:0.0d
    }
  },
  CustomName:"",
  MetaId:"gregtech:maintenance_hatch_configurable",
  MetaTileEntity:{
    FrontFacing:3,
    CachedLightValue:0,
    ImportInventory:[],
    ExportInventory:[],
    ImportFluidInventory:{
      TankAmount:0,
      Tanks:[]
    },
    ExportFluidInventory:{
      TankAmount:0,
      Tanks:[]
    },
    Covers:[],
    Fragile:0b,
    Muffled:0b,
    IsTaped:0b,
    DurationMultiplier:0.9d
  }
}

for both examples, adding/removing tape does not change the block data in 2.5.4-beta