Metal Chests

Metal Chests

3M Downloads

Missing ancestor call in TileEntity constructor

LemADEC opened this issue ยท 0 comments

commented

Problem Details

While investigating a lag issue, found that TileMetalChest constructor doesn't call its ancestor.
https://github.com/T145/metalchests/blob/master/src/main/java/T145/metalchests/tiles/TileMetalChest.java#L61

-- Expected behavior
Always call ancestor in derived methods and constructors

Constructor ancestor call has impact with capabilities handling.

Environment

  • OS: n/a
  • Full Forge version: n/a
  • Mod version: 4.6.9