mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-10-31 17:23:42 +01:00 
			
		
		
		
	Fixed double smelt not working if furnace was empty
This commit is contained in:
		| @@ -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(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 nossr50
					nossr50