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 // Activate
this.activate( this.activate(
// Command // Command
CmdFactions.get(), CmdFactions.class,
// Engines // Engines
EngineMain.get(), EngineMain.class,
EngineChat.get(), EngineChat.class,
EngineExploit.get(), EngineExploit.class,
EngineSeeChunk.get(), EngineSeeChunk.class,
EngineEcon.get(), // TODO: Take an extra look and make sure all economy stuff is handled using events. EngineEcon.class, // TODO: Take an extra look and make sure all economy stuff is handled using events.
// Integrate // Integrate
IntegrationHerochat.get(), IntegrationHerochat.class,
IntegrationLwc.get(), IntegrationLwc.class,
IntegrationWorldGuard.get(), IntegrationWorldGuard.class,
// Spigot // Spigot
IntegrationSpigot.get(), IntegrationSpigot.class,
// Modulo Repeat Tasks // Modulo Repeat Tasks
TaskPlayerPowerUpdate.get(), TaskPlayerPowerUpdate.class,
TaskPlayerDataRemove.get(), TaskPlayerDataRemove.class,
TaskEconLandReward.get(), TaskEconLandReward.class,
TaskFlagPermCreate.get() TaskFlagPermCreate.class
); );
// Register built in chat modifiers // Register built in chat modifiers