Update StarCraftingInterface.cpp

This commit is contained in:
SilverSokolova 2024-12-18 01:50:23 -06:00 committed by GitHub
parent 476bdc619c
commit 79e2c90ee0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -42,7 +42,7 @@ CraftingPane::CraftingPane(WorldClientPtr worldClient, PlayerPtr player, Json co
jsonMerge(assets->fetchJson(baseConfig), settings));
m_filter = StringSet::from(jsonToStringList(m_settings.get("filter", JsonArray())));
m_maxSpinCount = m_settings.getInt("maxSpinCount", 1000);
m_maxSpinCount = m_settings.getUInt("maxSpinCount", 1000);
GuiReader reader;
reader.registerCallback("spinCount.up", [=](Widget*) {