1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-10-25 02:47:39 +00:00

Fix crash on Fabric when attempting to use a non-fuel item as fuel. (#1275)

Co-authored-by: Jonathan Coates <git@squiddev.cc>
This commit is contained in:
Emma
2022-12-29 01:22:09 -07:00
committed by GitHub
parent e241575329
commit d2c7b944ab
4 changed files with 157 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ sourceSets.all {
check("FutureReturnValueIgnored", CheckSeverity.OFF) // Too many false positives with Netty
check("NullAway", CheckSeverity.ERROR)
option("NullAway:AnnotatedPackages", listOf("dan200.computercraft").joinToString(","))
option("NullAway:AnnotatedPackages", listOf("dan200.computercraft", "net.fabricmc.fabric.api").joinToString(","))
option("NullAway:ExcludedFieldAnnotations", listOf("org.spongepowered.asm.mixin.Shadow").joinToString(","))
option("NullAway:CastToNonNullMethod", "dan200.computercraft.core.util.Nullability.assertNonNull")
option("NullAway:CheckOptionalEmptiness")