LibrarianLib

LibrarianLib

18M Downloads

crash with LightningCraft

BugmanBugman opened this issue ยท 2 comments

commented

override fun getSubItems(tab: CreativeTabs, subItems: NonNullList<ItemStack>) {

We need to check if tabs is supposed to be nullable, but it might be. If so, easy fix, add a question mark in the prototype. If not, it's on them.

commented

The field is never null in the game. The only meaning I could imagine null having in this context would be "everything", but that's already the purpose of CreativeTabs.SEARCH, so I'm considering this an error in LightingCraft.