mirror of
https://github.com/OMGeeky/andors-trail.git
synced 2025-12-30 16:33:33 +01:00
better error message
This commit is contained in:
@@ -24,11 +24,12 @@ public final class WorldMapParser {
|
||||
}
|
||||
|
||||
private static void read(XmlResourceParser xrp, final MapCollection maps, final TranslationLoader translationLoader) {
|
||||
String s = "";
|
||||
try {
|
||||
int eventType;
|
||||
while ((eventType = xrp.next()) != XmlResourceParser.END_DOCUMENT) {
|
||||
if (eventType == XmlResourceParser.START_TAG) {
|
||||
String s = xrp.getName();
|
||||
s = xrp.getName();
|
||||
if (s.equals("segment")) {
|
||||
WorldMapSegment segment = parseSegment(xrp, maps, translationLoader);
|
||||
maps.worldMapSegments.put(segment.name, segment);
|
||||
@@ -37,7 +38,7 @@ public final class WorldMapParser {
|
||||
}
|
||||
xrp.close();
|
||||
} catch (Exception e) {
|
||||
L.log("Error reading worldmap: " + e.toString());
|
||||
L.log("Error reading worldmap: " + s + e.toString());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -11819,7 +11819,8 @@
|
||||
"message":"No, unfortunately not. Maybe try my colleague in Fallhaven?",
|
||||
"replies":[
|
||||
{
|
||||
"text":"Sigh - well, thanks."
|
||||
"text":"Sigh - well, thanks.",
|
||||
"nextPhraseID":"X"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -925,31 +925,5 @@
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"ratdom_618_loot1",
|
||||
"items":[
|
||||
{
|
||||
"itemID":"gold",
|
||||
"chance":"100",
|
||||
"quantity":{
|
||||
"min":200,
|
||||
"max":400
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id":"ratdom_618_loot2",
|
||||
"items":[
|
||||
{
|
||||
"itemID":"ratdom_parchment",
|
||||
"chance":"100",
|
||||
"quantity":{
|
||||
"min":1,
|
||||
"max":1
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user