Block Helper

Block Helper

12.9k Downloads

Release version doesn't match the source code?

CrossVas opened this issue ยท 1 comments

commented

Take the BlockHelperBlockState interface for instance.
It ships the

    /**
     * The player asking for the information.
     */
    public final EntityPlayer player;

https://github.com/ThexXTURBOXx/BlockHelper/blob/1.4.7/de/thexxturboxx/blockhelper/api/BlockHelperBlockState.java
which I need, and was confused when I checked the build from Modrinth (1.2.0-1.5.2):

public class BlockHelperBlockState {
    public final StringTranslate translator;
    public final World world;
    public final MovingObjectPosition mop;
    public final Block block;
    public final TileEntity te;
    public final int id;
    public final int meta;

    public BlockHelperBlockState(StringTranslate translator, World world, MovingObjectPosition mop, Block block, TileEntity te, int id, int meta) {
        this.translator = translator;
        this.world = world;
        this.mop = mop;
        this.block = block;
        this.te = te;
        this.id = id;
        this.meta = meta;
    }
}
commented

This is due to the version that is currently uploaded on Modrinth being a bit outdated. Since then, I have made numerous changes to the source code. The player field only got added in this commit: 27daccc#diff-c04ef0858209be5cbb573a7a558638da6b5236b4fc3ab41a5abe77c19142246aR20-R23

But since I am still in the process of fixing bugs and backporting changes, I won't be able to publish new builds until that is properly finished. After that, everything will be in order again. In short, that's just how Git works :)