Skip to content

Commit 32c1de9

Browse files
committed
Merge remote-tracking branch 'master-26-lts' into master-26
2 parents 60f4227 + d895e15 commit 32c1de9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎loader-common/src/main/java/org/cyclops/colossalchests2/gametest/GameTestsCommon.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,8 @@ private static void tickLid(GameTestHelper helper, BlockPos corePos) {
533533

534534
private static ServerPlayer makeViewer(GameTestHelper helper) {
535535
ServerPlayer player = helper.makeMockServerPlayerInLevel();
536+
// Mods may hand out items on login, such as manuals, while clicks expect an empty hand.
537+
player.getInventory().clearContent();
536538
BlockPos near = helper.absolutePos(MIN_A.offset(1, 0, -2));
537539
player.snapTo(near.getX() + 0.5, near.getY(), near.getZ() + 0.5);
538540
return player;

0 commit comments

Comments
 (0)