f80a88174c
- removed any old implementation - basic modul setup - using new hook system
24 lines
751 B
Java
24 lines
751 B
Java
package de.jaschastarke.minecraft.limitedcreative;
|
|
|
|
import de.jaschastarke.bukkit.lib.Core;
|
|
import de.jaschastarke.bukkit.lib.CoreModule;
|
|
import de.jaschastarke.modularize.IModule;
|
|
import de.jaschastarke.modularize.ModuleEntry;
|
|
|
|
public class ModCreativeLimits extends CoreModule {
|
|
public ModCreativeLimits(Core plugin) {
|
|
super(plugin);
|
|
}
|
|
|
|
protected FeatureBlockItemSpawn blockDrops = null;
|
|
|
|
@Override
|
|
public void Initialize(ModuleEntry<IModule> entry) {
|
|
super.Initialize(entry);
|
|
blockDrops = plugin.getModule(FeatureBlockItemSpawn.class);
|
|
if (blockDrops == null)
|
|
blockDrops = plugin.addModule(new FeatureBlockItemSpawn(plugin)).getModule();
|
|
|
|
}
|
|
|
|
}
|