crafting: mutual exclusiveness for $WALL tag

This commit is contained in:
minjaesong
2023-09-17 15:16:04 +09:00
parent 0a62037896
commit af36cec60f
5 changed files with 37 additions and 34 deletions

View File

@@ -47,7 +47,7 @@ class CraftingCodex {
itemsStr.forEachIndexed { i, itemStr ->
ingredients.add(CraftingIngredients(
if (itemStr.startsWith("$"))
itemStr.substring(1)
itemStr.substring(1).replace('$',',')
else
itemStr
,