Fixed a bug with roadmap rewards

This commit is contained in:
Ziggeh
2014-03-02 15:38:57 +01:00
parent 5ebb0d333e
commit 9c14e859b1
+1 -1
View File
@@ -576,7 +576,7 @@ public class PlayerService implements INetworkDispatch {
String customServerTemplate = null;
if (item.contains("/")) {
item = (item.substring(0, (item.lastIndexOf("/") + 1)) + "/shared_" + item.substring((item.lastIndexOf("/") + 1)));
item = (item.substring(0, (item.lastIndexOf("/") + 1)) + "shared_" + item.substring((item.lastIndexOf("/") + 1)));
} else {
customServerTemplate = item;
item = core.scriptService.callScript("scripts/roadmap/", "roadmap_rewards", "get", item).asString();