mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Merge pull request #199 from TrueFuFLeaderG/adventure
Adventure: fixed shopList attribute in towns
This commit is contained in:
@@ -372,6 +372,7 @@ public class MapStage extends GameStage {
|
||||
break;
|
||||
case "shop":
|
||||
String shopList = prop.get("shopList").toString();
|
||||
shopList=shopList.replaceAll("\\s","");
|
||||
List possibleShops = Arrays.asList(shopList.split(","));
|
||||
Array<ShopData> shops;
|
||||
if (possibleShops.size() == 0 || shopList.equals(""))
|
||||
|
||||
Reference in New Issue
Block a user