9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-27 19:19:07 +00:00

Attempted fix biome & region rarity

- Attempted to fix the issue of biome & region rarity issue
This commit is contained in:
StrangeOne101
2021-07-14 15:48:05 +12:00
parent ec47ca1983
commit 147d5902ed
2 changed files with 4 additions and 4 deletions

View File

@@ -4,6 +4,6 @@ public interface IRare {
int getRarity();
static int get(Object v) {
return v instanceof IRare ? ((IRare) v).getRarity() : 1;
}
return v instanceof IRare ? Math.max(1, ((IRare) v).getRarity()) : 1;
}
}