GregTech CE Unofficial

GregTech CE Unofficial

412k Downloads

Maintenance Hatch shows 2x tape than actually is

Caedis opened this issue ยท 0 comments

commented

GregTech CEu Version

e7fd8f9

Modpack Used

No response

Addons Installed

No response

Environment

Dev Environment

New Worlds

Yes

Cross-Mod Interaction

No

Expected Behavior

5 tape = 5 tape in TOP/WAILA

Actual Behavior

5 tape = 10 tape in TOP/WAILA

Steps to Reproduce

  1. Place maint hatch
  2. Add 5 tape
  3. Check TOP

Additional Information

Cause: The hatch's inventory is a proxy of importItems being used for both the import and export inventories, which causes it to show double the number of items.

Reference: https://github.com/GregTechCEu/GregTech/blob/master/src/main/java/gregtech/common/metatileentities/multi/multiblockpart/MetaTileEntityMaintenanceHatch.java#L107