diff --git a/src/main/java/emu/grasscutter/data/excels/ItemData.java b/src/main/java/emu/grasscutter/data/excels/ItemData.java index 15ddf84a9..6a97e6efe 100644 --- a/src/main/java/emu/grasscutter/data/excels/ItemData.java +++ b/src/main/java/emu/grasscutter/data/excels/ItemData.java @@ -120,6 +120,9 @@ public class ItemData extends GameResource { if (this.getFurnitureGadgetID() != null) { this.furnitureGadgetID = this.furnitureGadgetID.stream().filter(x -> x > 0).toList(); } + + // Prevent material type from being null + this.materialType = this.materialType == null ? MaterialType.MATERIAL_NONE : this.materialType; } @Getter