From ab4a1c1f27b00c5128475e4aae8339a13d60632b Mon Sep 17 00:00:00 2001 From: Moulberry Date: Sun, 14 Apr 2024 21:23:49 +0800 Subject: [PATCH] Fix typo - using cz as x coordinate --- .../java/com/moulberry/axiom/integration/Integration.java | 4 ++-- .../java/com/moulberry/axiom/viaversion/ViaVersionHelper.java | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100644 src/main/java/com/moulberry/axiom/viaversion/ViaVersionHelper.java diff --git a/src/main/java/com/moulberry/axiom/integration/Integration.java b/src/main/java/com/moulberry/axiom/integration/Integration.java index e8d63c4..039134a 100644 --- a/src/main/java/com/moulberry/axiom/integration/Integration.java +++ b/src/main/java/com/moulberry/axiom/integration/Integration.java @@ -19,8 +19,8 @@ public class Integration { } public static SectionPermissionChecker checkSection(Player player, World world, int cx, int cy, int cz) { - SectionPermissionChecker plotSquared = PlotSquaredIntegration.checkSection(player, world, cz, cy, cz); - SectionPermissionChecker worldGuard = WorldGuardIntegration.checkSection(player, world, cz, cy, cz); + SectionPermissionChecker plotSquared = PlotSquaredIntegration.checkSection(player, world, cx, cy, cz); + SectionPermissionChecker worldGuard = WorldGuardIntegration.checkSection(player, world, cx, cy, cz); return SectionPermissionChecker.combine(plotSquared, worldGuard); } diff --git a/src/main/java/com/moulberry/axiom/viaversion/ViaVersionHelper.java b/src/main/java/com/moulberry/axiom/viaversion/ViaVersionHelper.java new file mode 100644 index 0000000..3dcb8c3 --- /dev/null +++ b/src/main/java/com/moulberry/axiom/viaversion/ViaVersionHelper.java @@ -0,0 +1,2 @@ +package com.moulberry.axiom.viaversion;public class ViaVersionHelper { +}