EMI

EMI

14M Downloads

TankWidgets backgroundTexture method does not set background texture

QuImUfu opened this issue ยท 0 comments

commented

I wanted to set a custom background texture for a TankWidget and was quite flabbergasted why it didn't work, then I realized the overwritten backgroundTexture method ignores the passed id.

public SlotWidget backgroundTexture(Identifier id, int u, int v) {
return super.backgroundTexture(textureId, u, v);

If that is intentional, it should be documented why, if it isn't, that's a bug :)