Skip to content

Commit

Permalink
My bad
Browse files Browse the repository at this point in the history
  • Loading branch information
Fesaa committed Aug 1, 2024
1 parent 5320e7b commit e7b729b
Showing 1 changed file with 0 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
import art.ameliah.laby.addons.cubepanion.core.utils.gamemaps.DoubleCrossGameMap;
import art.ameliah.laby.addons.cubepanion.core.utils.gamemaps.SquareGameMap;
import art.ameliah.laby.addons.cubepanion.core.utils.gamemaps.TriangleEggWarsMap;
import art.ameliah.laby.addons.cubepanion.core.utils.gamemaps.base.GenLayout;
import art.ameliah.laby.addons.cubepanion.core.utils.gamemaps.base.GenLayout.Location;
import art.ameliah.laby.addons.cubepanion.core.utils.gamemaps.base.LoadedGameMap;
import art.ameliah.laby.addons.cubepanion.core.weave.ChestAPI.ChestLocation;
import art.ameliah.laby.addons.cubepanion.core.weave.GameMapAPI.GameMap;
Expand Down Expand Up @@ -108,22 +106,6 @@ static List<String> oneDeepStringList(@NotNull JsonArray array) {
return array != null ? array : new JsonArray();
}

static GenLayout.Generator transformGen(String type) {
return switch (type) {
case "diamond" -> GenLayout.Generator.DIAMOND;
case "gold" -> GenLayout.Generator.GOLD;
default -> GenLayout.Generator.IRON;
};
}

static Location transformLoc(String loc) {
return switch (loc) {
case "middle" -> Location.MIDDLE;
case "semimiddle" -> Location.SEMI_MIDDLE;
default -> Location.BASE;
};
}

public static Component chestLocationsComponent(ChestLocation loc) {
return Component.translatable("cubepanion.messages.chests_finder.found", Colours.Success)
.append(Component.text(String.format("%s, %s, %s", loc.x(), loc.y(), loc.z()),
Expand Down

0 comments on commit e7b729b

Please sign in to comment.