mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
Roadmap Rewards Fix
This commit is contained in:
@@ -575,7 +575,9 @@ public class PlayerService implements INetworkDispatch {
|
||||
try {
|
||||
String customServerTemplate = null;
|
||||
|
||||
if (!item.contains("/")) {
|
||||
if (item.contains("/")) {
|
||||
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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user