diff --git a/src/main/java/emu/grasscutter/game/drop/DropManager.java b/src/main/java/emu/grasscutter/game/drop/DropManager.java index 6a224be6e..0e8807cfe 100644 --- a/src/main/java/emu/grasscutter/game/drop/DropManager.java +++ b/src/main/java/emu/grasscutter/game/drop/DropManager.java @@ -83,6 +83,9 @@ public class DropManager { ItemData itemData = GameData.getItemDataMap().get(dd.getItemId()); int num = Utils.randomRange(dd.getMinCount(), dd.getMaxCount()); + if (itemData == null) { + return; + } if (itemData.isEquip()) { for (int i = 0; i < num; i++) { float range = (5f + (.1f * num));