LimitedCreative/src/de/jaschastarke/minecraft/limitedcreative/LimitedCreative.java
Jascha Starke f80a88174c Complete rewrite beginning:
- removed any old implementation
 - basic modul setup
 - using new hook system
2013-01-16 12:33:14 +01:00

24 lines
662 B
Java

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