Skip to content

Commit

Permalink
moved the autocollecting stat to its own value so taht its no longer …
Browse files Browse the repository at this point in the history
…bound to magnetism
  • Loading branch information
GregoriusT committed Sep 21, 2023
1 parent 25f09e4 commit 329846f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 26 deletions.
2 changes: 1 addition & 1 deletion src/main/java/gregapi/GT_API_Post.java
Original file line number Diff line number Diff line change
Expand Up @@ -608,7 +608,7 @@ public void onModPostInit2(FMLPostInitializationEvent aEvent) {
tMaterial.addEnchantmentForTools(tEnchant, 3).addEnchantmentForWeapons(tEnchant, 3).addEnchantmentForArmors(tEnchant, 3);
} else if (tMaterial == MT.SteelMagnetic || tMaterial == MT.MeteoricSteel || tMaterial == MT.MeteoricBlackSteel || tMaterial == MT.MeteoricBlueSteel || tMaterial == MT.MeteoricRedSteel || tMaterial == MT.MeteoflameSteel || tMaterial == MT.MeteoflameBlackSteel || tMaterial == MT.MeteoflameBlueSteel || tMaterial == MT.MeteoflameRedSteel || tMaterial == MT.Meteorite) {
tMaterial.addEnchantmentForTools(tEnchant, 2).addEnchantmentForWeapons(tEnchant, 2).addEnchantmentForArmors(tEnchant, 2);
} else if (tMaterial.contains(TD.Properties.MAGNETIC_ACTIVE)) {
} else if (tMaterial.containsAny(TD.Properties.MAGNETIC_ACTIVE, TD.Properties.AUTO_COLLECTING)) {
tMaterial.addEnchantmentForTools(tEnchant, 1).addEnchantmentForWeapons(tEnchant, 1).addEnchantmentForArmors(tEnchant, 1);
}
}
Expand Down
Loading

0 comments on commit 329846f

Please sign in to comment.