mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-10 00:13:42 -04:00
Moved registerForIntent() into constructors of all services
This commit is contained in:
@@ -51,11 +51,12 @@ public class ClientBuildoutService extends Service {
|
||||
areasById = new Hashtable<>(1000); // Number of buildout areas
|
||||
|
||||
getClientObjects = clientSdb.prepareStatement(GET_CLIENT_OBJECTS_SQL);
|
||||
|
||||
registerForIntent(PlayerTransformedIntent.TYPE);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean initialize() {
|
||||
registerForIntent(PlayerTransformedIntent.TYPE);
|
||||
List<String> events = getEvents();
|
||||
loadAreas(events);
|
||||
return super.initialize();
|
||||
|
||||
Reference in New Issue
Block a user