mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 14:46:46 +01:00
Fixed double smelt not working if furnace was empty
This commit is contained in:
parent
b181fb4568
commit
444d5edd66
@ -1,5 +1,6 @@
|
||||
Version 2.1.182
|
||||
Fixed several errors in de locale (Thanks TheBusyBiscuit & w1tcherrr)
|
||||
Fixed a bug where double smelt never succeeded if the furnace was empty
|
||||
|
||||
|
||||
Version 2.1.181
|
||||
|
@ -140,7 +140,7 @@ public class SmeltingManager extends SkillManager {
|
||||
ItemStack furnaceResult = furnaceInventory.getResult();
|
||||
|
||||
if(furnaceResult == null)
|
||||
return false;
|
||||
return true; //This actually means there is nothing yet in the resulting item slot, which means it should always be okay to double smelt
|
||||
|
||||
int resultAmount = furnaceResult.getAmount(); //Amount before double smelt
|
||||
int itemLimit = furnaceResult.getMaxStackSize();
|
||||
|
Loading…
Reference in New Issue
Block a user