From 6082acd36d49e01f5dae20fdd3f8e77047eea040 Mon Sep 17 00:00:00 2001 From: befaci03 Date: Tue, 13 Jan 2026 22:07:08 +0100 Subject: [PATCH] ......gsg --- pom.xml | 2 +- .../java/eu/creeper/mc/creeperPit/worldguard/Region.java | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/pom.xml b/pom.xml index 0a7bf45..4646464 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ eu.creeper.mc creeperpit - 1.0-SNAPSHOT + 2.0.01-SNAPSHOT jar creeperpit diff --git a/src/main/java/eu/creeper/mc/creeperPit/worldguard/Region.java b/src/main/java/eu/creeper/mc/creeperPit/worldguard/Region.java index 0c11b47..8b7961a 100644 --- a/src/main/java/eu/creeper/mc/creeperPit/worldguard/Region.java +++ b/src/main/java/eu/creeper/mc/creeperPit/worldguard/Region.java @@ -1,8 +1,6 @@ package eu.creeper.mc.creeperPit.worldguard; import org.bukkit.Location; -import org.jetbrains.annotations.NotNull; -import org.jetbrains.annotations.Nullable; public class Region { private final String rname; @@ -15,7 +13,7 @@ public class Region { private boolean allowPvp; private boolean allowDrop; - public Region(@NotNull String name, @NotNull Location min, @NotNull Location max, @Nullable String label) { + public Region(String name, Location min, Location max, String label) { this.rname = name; this.label = label; @@ -28,7 +26,7 @@ public class Region { this.allowDrop = true; } - public boolean contains(@NotNull Location loc) { + public boolean contains(Location loc) { return loc.getWorld().equals(min.getWorld()) && loc.getX() >= min.getX() && loc.getX() <= max.getX() && loc.getY() >= min.getY() && loc.getY() <= max.getY() &&