diff --git a/Resources/plugin.yml b/Resources/plugin.yml index 29da80e..5001c4a 100644 --- a/Resources/plugin.yml +++ b/Resources/plugin.yml @@ -1,6 +1,6 @@ main: com.sekwah.advancedportals.AdvancedPortalsPlugin name: AdvancedPortals -version: 0.0.39 +version: 0.0.40 author: sekwah41 description: An advanced portals plugin for bukkit. commands: diff --git a/pom.xml b/pom.xml index e8d5816..0683303 100644 --- a/pom.xml +++ b/pom.xml @@ -16,7 +16,7 @@ https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - 0.0.39-snapshot + 0.0.40-snapshot UTF-8 1.7 diff --git a/src/com/sekwah/advancedportals/portals/Portal.java b/src/com/sekwah/advancedportals/portals/Portal.java index 41dddbb..c363bb8 100644 --- a/src/com/sekwah/advancedportals/portals/Portal.java +++ b/src/com/sekwah/advancedportals/portals/Portal.java @@ -179,10 +179,10 @@ public class Portal { Location checkpos1 = new Location(pos1.getWorld(), HighX, HighY, HighZ); Location checkpos2 = new Location(pos2.getWorld(), LowX, LowY, LowZ); - if (checkPortalOverlap(checkpos1, checkpos2)) { + /*if (checkPortalOverlap(checkpos1, checkpos2)) { plugin.getLogger().log(Level.WARNING, "portals must not overlap!"); return "\u00A7cPortal creation error, portals must not overlap!"; - } + }*/ portalData.getConfig().set(name + ".world", pos1.getWorld().getName());