mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-22 04:52:26 +00:00
Make that the ash drop of the kiln is never 0
This commit is contained in:
1 parent
a61879daff
commit
52b8d56ff0
1 file changed
+5
-1
@@ -421,7 +421,11 @@ public abstract class BlockPile extends BlockStructure implements ITileEntityPro
|
||||
charcoal.stackSize++;
|
||||
}
|
||||
list.add(charcoal);
|
||||
list.add(new ItemStack(PluginCore.items.ash, (int)(charcoalAmount / 1.5)));
|
||||
int ashAmount = (int)(charcoalAmount / 1.5);
|
||||
if(ashAmount <= 0){
|
||||
ashAmount = 1;
|
||||
}
|
||||
list.add(new ItemStack(PluginCore.items.ash, ashAmount));
|
||||
} else {
|
||||
list.add(new ItemStack(Blocks.DIRT, 2));
|
||||
list.add(new ItemStack(PluginCore.items.ash, 2));
|
||||
|
||||
Reference in new issue
Block a user