mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-07 22:13:40 -04:00
Merged in M4SS/holocore/bugfix/clickcollection (pull request #589)
Fixed clicky collections not being collected
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
package com.projectswg.holocore.services.collections;
|
||||
|
||||
import com.projectswg.common.control.Service;
|
||||
import com.projectswg.common.data.swgfile.ClientFactory;
|
||||
import com.projectswg.common.debug.Log;
|
||||
import com.projectswg.holocore.resources.objects.collections.ClickyCollectionItem;
|
||||
import com.projectswg.holocore.resources.objects.collections.CollectionItem;
|
||||
@@ -69,7 +70,8 @@ public class CollectionService extends Service {
|
||||
String terrain = set.getText("terrain");
|
||||
double x = set.getReal("x");
|
||||
double y = set.getReal("y");
|
||||
RadialHandler.registerHandler(iff, new WorldItemRadial(new ClickyCollectionItem(slotName, collectionName, objectId, iff, terrain, x, y)));
|
||||
String sharedFile = ClientFactory.formatToSharedFile(iff);
|
||||
RadialHandler.registerHandler(sharedFile, new WorldItemRadial(new ClickyCollectionItem(slotName, collectionName, objectId, iff, terrain, x, y)));
|
||||
count++;
|
||||
}
|
||||
} catch (IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user