mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-23 00:28:02 +00:00
Attempted fix biome & region rarity
- Attempted to fix the issue of biome & region rarity issue
This commit is contained in:
1 parent
ec47ca1983
commit
147d5902ed
2 files changed
+4
-4
No files matched your search
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user