mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-31 17:47:56 +00:00
Send terminal state with /computercraft view
This commit is contained in:
@@ -225,6 +225,7 @@ public final class CommandComputerCraft
|
||||
.executes( context -> {
|
||||
ServerPlayerEntity player = context.getSource().getPlayer();
|
||||
ServerComputer computer = getComputerArgument( context, "computer" );
|
||||
computer.sendTerminalState( player );
|
||||
ViewComputerContainerData container = new ViewComputerContainerData( computer );
|
||||
container.open( player, new ExtendedScreenHandlerFactory()
|
||||
{
|
||||
|
Reference in New Issue
Block a user