Fixed unobtainable wood without aether tools
This commit is contained in:
parent
9b4b4ef7a6
commit
b8c756bcc6
|
@ -20,7 +20,7 @@ import com.legacy.aether.server.registry.sounds.SoundsAether;
|
||||||
import com.legacy.aether.server.tile_entities.AetherTileEntities;
|
import com.legacy.aether.server.tile_entities.AetherTileEntities;
|
||||||
import com.legacy.aether.server.world.AetherWorld;
|
import com.legacy.aether.server.world.AetherWorld;
|
||||||
|
|
||||||
@Mod(name = "Aether Legacy", modid = Aether.modid, version = "v1.0-1.9.4", acceptedMinecraftVersions = "1.9.4")
|
@Mod(name = "Aether Legacy", modid = Aether.modid, version = "v1.3.1-1.10.2", acceptedMinecraftVersions = "1.10.2")
|
||||||
public class Aether
|
public class Aether
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
|
@ -91,6 +91,10 @@ public class BlockAetherLog extends BlockLog implements IAetherMeta
|
||||||
defaults.getBlock().dropBlockAsItem(worldIn, pos, defaults, EnchantmentHelper.getEnchantmentLevel(Enchantments.FORTUNE, player.getHeldItemMainhand()));
|
defaults.getBlock().dropBlockAsItem(worldIn, pos, defaults, EnchantmentHelper.getEnchantmentLevel(Enchantments.FORTUNE, player.getHeldItemMainhand()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
spawnAsEntity(worldIn, pos, new ItemStack(defaults.getBlock()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue