Fix quest chests not having drop data

This commit is contained in:
KingRainbow44
2023-06-01 21:28:12 -04:00
parent 43f3494073
commit cef8b53dd6
2 changed files with 21 additions and 5 deletions

View File

@@ -75,6 +75,7 @@ public class GadgetChest extends GadgetContent {
} else if (chest.chest_drop_id != 0) {
status = dropSystem.handleChestDrop(chest.chest_drop_id, chest.drop_count, getGadget());
}
if (status) {
getGadget().updateState(ScriptGadgetState.ChestOpened);
player.sendPacket(