package de.jaschastarke.minecraft.limitedcreative; import de.jaschastarke.i18n; import de.jaschastarke.bukkit.lib.Core; public class LimitedCreative extends Core { private i18n lang; protected Config config = null; @Override public void OnInitialize() { config = new Config(this); lang = new i18n("lang/messages"); addModule(new ModInventories(this)); addModule(new ModCreativeLimits(this)); addModule(new ModRegions(this)); addModule(new ModCmdBlocker(this)); Hooks.inizializeHooks(this); config.save(); } public Config getPluginConfig() { return config; } @Deprecated public String L(String msg, Object... objects) { return lang.trans(msg, objects); } public i18n getLocale() { return lang; } }