mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-26 15:03:07 +00:00
Fix behavior on Enchanter NEI while holding shift (#88)
This commit is contained in:
1 parent
864e5c03b3
commit
e03011cd40
2 files changed
+72
-51
No files matched your search
@@ -164,7 +164,7 @@ public class EnchanterRecipeHandler extends TemplateRecipeHandler {
|
||||
int maxLevel = recipe.getEnchantment().getMaxLevel();
|
||||
if (maxLevel > 1) {
|
||||
int level = cycle % maxLevel + 1;
|
||||
input.get(1).item.stackSize *= level;
|
||||
input.get(1).item.stackSize = recipe.getItemsPerLevel() * level;
|
||||
}
|
||||
return input;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user