Quark Oddities

Quark Oddities

22M Downloads

Call setWorldandPos for moved tileentity

Darkere opened this issue ยท 0 comments

commented

In https://github.com/Vazkii/Quark/blob/35be07227bc940ff670b91f04dcbf626dce795f9/src/main/java/vazkii/quark/automation/module/PistonsMoveTileEntitiesModule.java#L186

Quark is calling tileEntitiy.setPos().
This means that the TE's world is null when tileEntitiy.validate() is called after that.

Could this be changed to call tileEntity.setWorldandPos() ? A quick looks suggests it does the same as setPos but also sets the world.