MassiveCore - Lazy Active by Reflection. Solves unwanted early instance creation.

This commit is contained in:
Olof Larsson 2016-04-19 12:00:01 +02:00
parent a7b03d076e
commit 7fc22db45a
No known key found for this signature in database
GPG Key ID: BBEF14F97DA52474

View File

@ -144,28 +144,28 @@ public class Factions extends MassivePlugin
// Activate
this.activate(
// Command
CmdFactions.get(),
CmdFactions.class,
// Engines
EngineMain.get(),
EngineChat.get(),
EngineExploit.get(),
EngineSeeChunk.get(),
EngineEcon.get(), // TODO: Take an extra look and make sure all economy stuff is handled using events.
EngineMain.class,
EngineChat.class,
EngineExploit.class,
EngineSeeChunk.class,
EngineEcon.class, // TODO: Take an extra look and make sure all economy stuff is handled using events.
// Integrate
IntegrationHerochat.get(),
IntegrationLwc.get(),
IntegrationWorldGuard.get(),
IntegrationHerochat.class,
IntegrationLwc.class,
IntegrationWorldGuard.class,
// Spigot
IntegrationSpigot.get(),
IntegrationSpigot.class,
// Modulo Repeat Tasks
TaskPlayerPowerUpdate.get(),
TaskPlayerDataRemove.get(),
TaskEconLandReward.get(),
TaskFlagPermCreate.get()
TaskPlayerPowerUpdate.class,
TaskPlayerDataRemove.class,
TaskEconLandReward.class,
TaskFlagPermCreate.class
);
// Register built in chat modifiers