mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-21 12:32:24 +00:00
added log warning
This commit is contained in:
1 parent
89cca4d120
commit
80f8e17ba6
1 file changed
+4
-1
@@ -85,7 +85,10 @@ public class BaublesConfig {
|
||||
for (String entry : slotStackLimitOverrides) {
|
||||
if (entry == null) continue;
|
||||
String[] split = entry.split("=", 2);
|
||||
if (split.length != 2) continue;
|
||||
if (split.length != 2) {
|
||||
Baubles.log.warn("Ignoring malformed slotStackLimitOverrides entry '{}'. Expected format: type=limit", entry);
|
||||
continue;
|
||||
}
|
||||
String type = split[0].trim();
|
||||
String limitText = split[1].trim();
|
||||
if (!BaubleExpandedSlots.isTypeRegistered(type)) continue;
|
||||
|
||||
Reference in new issue
Block a user