mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-25 14:34:33 +00:00
Updates for 1.11. Running but missing textures.
This commit is contained in:
1 parent
424fdaaf48
commit
f660f213f6
185 files changed
+959
-783
No files matched your search
@@ -28,8 +28,8 @@ public class AlvearyMutator {
|
||||
return getMutationMult(item) > 0.0f;
|
||||
}
|
||||
|
||||
public static float getMutationMult(@Nullable final ItemStack item) {
|
||||
if (item == null) {
|
||||
public static float getMutationMult(final ItemStack item) {
|
||||
if (item.isEmpty()) {
|
||||
return 1.0f;
|
||||
}
|
||||
for (final ItemStack comp : AlvearyMutator.mutations.keySet()) {
|
||||
@@ -40,8 +40,8 @@ public class AlvearyMutator {
|
||||
return 1.0f;
|
||||
}
|
||||
|
||||
public static void addMutationItem(@Nullable final ItemStack item, final float chance) {
|
||||
if (item == null) {
|
||||
public static void addMutationItem(final ItemStack item, final float chance) {
|
||||
if (item.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
AlvearyMutator.mutations.put(item, chance);
|
||||
|
||||
Reference in new issue
Block a user