mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-11-09 07:54:27 +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:
1 parent
dd5698241b
commit
2ae6fb47e7
2 files changed
+31
-14
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user