mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Fixed Mana Spreaders dropping wool every time when broken. Closes #744
This commit is contained in:
1 parent
dd0f3f8bc0
commit
9ae4edd963
1 file changed
+2
-2
@@ -188,9 +188,9 @@ public class BlockSpreader extends BlockModContainer implements IWandable, IWand
|
||||
|
||||
if (inv != null) {
|
||||
for (int j1 = 0; j1 < inv.getSizeInventory() + 1; ++j1) {
|
||||
ItemStack itemstack = j1 >= inv.getSizeInventory() ? new ItemStack(Blocks.wool, 1, inv.paddingColor) : inv.getStackInSlot(j1);
|
||||
ItemStack itemstack = j1 >= inv.getSizeInventory() ? (inv.paddingColor == -1 ? null : new ItemStack(Blocks.wool, 1, inv.paddingColor)) : inv.getStackInSlot(j1);
|
||||
|
||||
if (itemstack != null && itemstack.getItemDamage() != -1) {
|
||||
if(itemstack != null) {
|
||||
float f = random.nextFloat() * 0.8F + 0.1F;
|
||||
float f1 = random.nextFloat() * 0.8F + 0.1F;
|
||||
EntityItem entityitem;
|
||||
|
||||
Reference in new issue
Block a user