Search in sources :

Example 1 with PCCommandManager

use of pneumaticCraft.common.commands.PCCommandManager in project PneumaticCraft by MineMaarten.

the class PneumaticCraft method onServerStart.

@EventHandler
public void onServerStart(FMLServerStartingEvent event) {
    ServerCommandManager comManager = (ServerCommandManager) MinecraftServer.getServer().getCommandManager();
    new PCCommandManager().init(comManager);
}
Also used : ServerCommandManager(net.minecraft.command.ServerCommandManager) PCCommandManager(pneumaticCraft.common.commands.PCCommandManager) EventHandler(cpw.mods.fml.common.Mod.EventHandler)

Aggregations

EventHandler (cpw.mods.fml.common.Mod.EventHandler)1 ServerCommandManager (net.minecraft.command.ServerCommandManager)1 PCCommandManager (pneumaticCraft.common.commands.PCCommandManager)1