mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2026-02-05 02:10:16 +00:00
Merge branch 'mc-1.16.x' into mc-1.18.x
This commit is contained in:
@@ -35,6 +35,7 @@ import net.minecraft.world.entity.Entity;
|
||||
import net.minecraft.world.entity.player.Inventory;
|
||||
import net.minecraft.world.entity.player.Player;
|
||||
import net.minecraft.world.inventory.AbstractContainerMenu;
|
||||
import net.minecraft.world.item.ItemStack;
|
||||
import net.minecraft.world.level.Level;
|
||||
|
||||
import javax.annotation.Nonnull;
|
||||
@@ -224,7 +225,7 @@ public final class CommandComputerCraft
|
||||
.executes( context -> {
|
||||
ServerPlayer player = context.getSource().getPlayerOrException();
|
||||
ServerComputer computer = getComputerArgument( context, "computer" );
|
||||
new ComputerContainerData( computer ).open( player, new MenuProvider()
|
||||
new ComputerContainerData( computer, ItemStack.EMPTY ).open( player, new MenuProvider()
|
||||
{
|
||||
@Nonnull
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user