refactor: wip update 2

This commit is contained in:
darksaid98 committed 2023-06-27 12:15:01 +02:00
1 parent 31e5289b7f
commit 96c9ce1230
26 files changed
+1918 -654

No files matched your search

@@ -1,7 +1,6 @@
package me.ShermansWorld.AlathraWar;
import com.palmergames.bukkit.towny.object.WorldCoord;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Material;
import org.bukkit.entity.Player;
@@ -22,10 +21,6 @@ public class Helper {
return color("&6[&4AlathraWar&6]&r ");
}
public static void testMsg() {
Bukkit.broadcastMessage("test message");
}
/**
* Damages all gear in a players inventory
*
@@ -170,10 +165,10 @@ public class Helper {
ArrayList<WorldCoord> ReturnList = new ArrayList<>();
int[][] XZarray = new int[][]{
{-1, 0},
{1, 0},
{0, -1},
{0, 1}
{-1, 0},
{1, 0},
{0, -1},
{0, 1}
}; // Array that contains relative orthogonal shifts from origin
for (int[] pair : XZarray) {
// Constructs new WorldCoord for comparison