updated pvp, refactored some old code, removed transfer instance

This commit is contained in:
2024-11-03 14:57:53 +01:00
parent 4de66d65a2
commit dc24f28b8f
8 changed files with 29 additions and 76 deletions

View File

@@ -130,25 +130,10 @@ public class InventoryItemAlignment {
}.get(count);
}
public static class ItemOffset {
private final int x;
private final int z;
public ItemOffset(int x, int z) {
this.x = x;
this.z = z;
}
public int getX() {
return x;
}
public int getZ() {
return z;
}
public record ItemOffset(int x, int z) {
public int get() {
return x + (z * 9);
return x + (z * 9);
}
}
}
}

View File

@@ -1,5 +0,0 @@
package eu.mhsl.minenet.minigames.util;
public abstract class Static {
public abstract void load(); //TODO REMOVE
}