diff --git a/.gitignore b/.gitignore index 65ae1ef..c46a994 100644 --- a/.gitignore +++ b/.gitignore @@ -16,4 +16,12 @@ local.properties *.iml .idea dependency-reduced-pom.xml -desktop.ini \ No newline at end of file +desktop.ini + +ArmShopBridge/target +interfaces/target +quickshop4adapter/target +quickshopadapter/target +shopchestadapter/target +shopkeepersadapter/target +ultimateshopsadapter/target \ No newline at end of file diff --git a/shopchestadapter/pom.xml b/shopchestadapter/pom.xml index 2f99971..15fbc39 100644 --- a/shopchestadapter/pom.xml +++ b/shopchestadapter/pom.xml @@ -14,8 +14,8 @@ - shopchest-repo - https://epicericee.github.io/ShopChest/maven/ + codemc-repo + https://repo.codemc.io/repository/maven-public/ @@ -28,7 +28,7 @@ de.epiceric ShopChest - 1.11.1 + 1.13-SNAPSHOT provided diff --git a/shopchestadapter/src/main/java/net/alex9849/armshopbridge/adapters/ShopChestAdapter.java b/shopchestadapter/src/main/java/net/alex9849/armshopbridge/adapters/ShopChestAdapter.java index 80af655..e4f2e82 100644 --- a/shopchestadapter/src/main/java/net/alex9849/armshopbridge/adapters/ShopChestAdapter.java +++ b/shopchestadapter/src/main/java/net/alex9849/armshopbridge/adapters/ShopChestAdapter.java @@ -7,11 +7,13 @@ import net.alex9849.armshopbridge.interfaces.IShopPluginAdapter; import org.bukkit.Location; +import java.util.Collection; + public class ShopChestAdapter implements IShopPluginAdapter { @Override public void deleteShops(Region region) { ShopUtils shopUtils = ShopChest.getInstance().getShopUtils(); - Shop[] shops = shopUtils.getShops().clone(); + Collection shops = shopUtils.getShops(); for(Shop shop : shops) { Location loc = shop.getLocation();