mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-26 23:42:18 +00:00
Send terminal state with /computercraft view
This commit is contained in:
parent
1831e81dd4
commit
225a64dd6b
@ -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()
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user