1
0
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:
ToadDev 2021-05-31 16:40:09 -07:00
parent 1831e81dd4
commit 225a64dd6b

View File

@ -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()
{