Skip to content

Commit 02fdde7

Browse files
committed
Merge branch 'master' into add-integration-tests
2 parents 03cef34 + 6927020 commit 02fdde7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/eternalcode/parcellockers/locker/controller/LockerInteractionController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public LockerInteractionController(LockerCache cache, LockerMainGui lockerMainGU
2626
@EventHandler
2727
public void onInventoryOpen(PlayerInteractEvent event) {
2828
Player player = event.getPlayer();
29-
Position blockPos = PositionAdapter.convert(player.getTargetBlock(Set.of(Material.AIR), 4).getLocation());
29+
Position blockPos = PositionAdapter.convert(player.getTargetBlock(Set.of(Material.AIR), 5).getLocation());
3030

3131
if (event.getAction() != Action.RIGHT_CLICK_BLOCK) {
3232
return;

0 commit comments

Comments
 (0)