Skip to content

Commit

Permalink
fix: update bmutils for performance reasons
Browse files Browse the repository at this point in the history
  • Loading branch information
Chicken committed Mar 28, 2024
1 parent 9092ddf commit 0885981
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ dependencies {
exclude ( group = "org.jetbrains", module = "annotations" )
exclude ( group = "org.intellij.lang", module = "annotations" )
}
implementation ("com.github.TechnicJelle:BMUtils:v2.0") {
implementation ("com.github.TechnicJelle:BMUtils:v3.0") {
exclude ( group = "org.jetbrains", module = "annotations" )
exclude ( group = "org.intellij.lang", module = "annotations" )
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/codes/antti/bluemaptowny/BlueMapTowny.java
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ private void updateMarkers() {
if (townyworld == null) continue;
TownyAPI.getInstance().getTowns().forEach((town) -> {
Vector2i[] chunks = town.getTownBlocks().stream().filter((tb) -> tb.getWorld().equals(townyworld)).map((tb) -> new Vector2i(tb.getX(), tb.getZ())).toArray(Vector2i[]::new);
Collection<Cheese> cheeses = Cheese.createMultiCheeseFromChunks(chunks);
Collection<Cheese> cheeses = Cheese.createPlatterFromChunks(chunks);
double layerY = this.config.getDouble("style.y-level");
String townName = town.getName();
String townDetails = fillPlaceholders(this.config.getString("popup"), town);
Expand Down

0 comments on commit 0885981

Please sign in to comment.