Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TankWidgets backgroundTexture method does not set background texture #829

Open
QuImUfu opened this issue Jan 18, 2025 · 0 comments
Open

Comments

@QuImUfu
Copy link

QuImUfu commented Jan 18, 2025

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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant