Skip to content

Small fix to make DuelTileEntity inheritable#18

Open
3ktoplasm wants to merge 1 commit intoCAS-ual-TY:mainfrom
3ktoplasm:main
Open

Small fix to make DuelTileEntity inheritable#18
3ktoplasm wants to merge 1 commit intoCAS-ual-TY:mainfrom
3ktoplasm:main

Conversation

@3ktoplasm
Copy link

This modification just makes a type more general and shouldn't alter the mod in any way. This is however useful to make it possible to create subclasses of DuelTileEntity, because we can then pass a variable of type BlockEntityType when calling DuelTileEntity's constructor in the subclass's constructor. I'm currently working on a mod relying on YDM and I need to inherit DuelTileEntity at some point so this solved my problem.

@CAS-ual-TY
Copy link
Owner

Are there any other changes you need? Please contact me on discord if you can

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

Successfully merging this pull request may close these issues.

2 participants