Modern Industrialization

Modern Industrialization

4M Downloads

@Override public Ingredient getRepairIngredient() {return null; causes a crash when asked for a return value

RatDonkeyGoat opened this issue ยท 0 comments

commented

hey so im getting a crash because of the
java.lang.NullPointerException: Cannot invoke "net.minecraft.class_1856.method_8105()" because the return value of "net.minecraft.class_1741.method_7695()" is null

somthing with the quantum armor and gravichestplate are returning null values

actually i know exactly the issue

@OverRide
public Ingredient getRepairIngredient() {
return null;

how do i fix it tho
why is that line even there
the quantum sword doesnt have it

heres the full log

latest.log