From c7fbc6a61ef6d1da8057f4e00d0734b9076d5295 Mon Sep 17 00:00:00 2001 From: Emma Waffle Date: Fri, 3 Sep 2021 22:23:38 -0400 Subject: [PATCH] remove that file --- .../emcutils/EmpireMinecraftUtilities.java | 1 - .../features/XaeroMapIntegration.java | 52 ------------------- 2 files changed, 53 deletions(-) delete mode 100644 src/main/java/dev/frydae/emcutils/features/XaeroMapIntegration.java diff --git a/src/main/java/dev/frydae/emcutils/EmpireMinecraftUtilities.java b/src/main/java/dev/frydae/emcutils/EmpireMinecraftUtilities.java index ed38e20..3d44321 100644 --- a/src/main/java/dev/frydae/emcutils/EmpireMinecraftUtilities.java +++ b/src/main/java/dev/frydae/emcutils/EmpireMinecraftUtilities.java @@ -76,7 +76,6 @@ public static void onPostJoinEmpireMinecraft() { if (Util.hasVoxelMap || Util.hasXaeroMap) {Tasks.runTasks(new GetLocationTask());} if (Util.hasVoxelMap) {Tasks.runTasks(new VoxelMapIntegration());} - //if (Util.hasXaeroMap) {Tasks.runTasks(new XaeroMapIntegration());} } @Override diff --git a/src/main/java/dev/frydae/emcutils/features/XaeroMapIntegration.java b/src/main/java/dev/frydae/emcutils/features/XaeroMapIntegration.java deleted file mode 100644 index 610359e..0000000 --- a/src/main/java/dev/frydae/emcutils/features/XaeroMapIntegration.java +++ /dev/null @@ -1,52 +0,0 @@ -/* - * Copyright (c) 2021 MrFrydae - * Copyright (c) 2021 wafflecoffee - * Copyright (c) 2021 djlawler - * Copyright (c) 2020 TeamMidnightDust (MidnightConfig only) - * - * Permission is hereby granted, free of charge, to any person obtaining a copy - * of this software and associated documentation files (the "Software"), to deal - * in the Software without restriction, including without limitation the rights - * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - * copies of the Software, and to permit persons to whom the Software is - * furnished to do so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ - -package dev.frydae.emcutils.features; - -import dev.frydae.emcutils.interfaces.Task; -import dev.frydae.emcutils.utils.Util; -import xaero.common.minimap.waypoints.WaypointsManager; - -public class XaeroMapIntegration implements Task { - public WaypointsManager waypointsManager; - - @Override - public void execute() { - System.out.println(Util.getCurrentServer().getName().toLowerCase() + " - " + Util.getWorld()); - this.waypointsManager.setCustomWorldID(Util.getCurrentServer().getName().toLowerCase() + " - " + Util.getWorld()); - - - } - - @Override - public boolean shouldWait() { - return false; - } - - @Override - public String getDescription() { - return "Set Xaero's Map Information"; - } -} \ No newline at end of file