1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2026-03-16 12:59:44 +00:00

Move CommandComputer into a child package

Means we can be a little more organised where we put the additional
commands.
This commit is contained in:
SquidDev
2017-11-15 15:57:10 +00:00
parent dd5698241b
commit 2ae6fb47e7
2 changed files with 31 additions and 14 deletions

View File

@@ -22,6 +22,7 @@ import dan200.computercraft.core.apis.AddressPredicate;
import dan200.computercraft.core.filesystem.ComboMount;
import dan200.computercraft.core.filesystem.FileMount;
import dan200.computercraft.core.filesystem.JarMount;
import dan200.computercraft.shared.command.CommandComputer;
import dan200.computercraft.shared.common.DefaultBundledRedstoneProvider;
import dan200.computercraft.shared.computer.blocks.BlockCommandComputer;
import dan200.computercraft.shared.computer.blocks.BlockComputer;
@@ -422,7 +423,7 @@ public class ComputerCraft
@Mod.EventHandler
public void onServerStarting( FMLServerStartingEvent event )
{
event.registerServerCommand( new ComputerCommand() );
event.registerServerCommand( new CommandComputer() );
}
@Mod.EventHandler