Fixed issues created from bad merge during rebase

This commit is contained in:
Daniel Vidmar 2015-02-21 13:25:44 -05:00
parent 9fa3286ea0
commit 6811ed551c
4 changed files with 45 additions and 14 deletions

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
@ -31,7 +31,6 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Coordinates3D.cs" />
<Compile Include="ArmourMaterial.cs" />
<Compile Include="PlantSpecies.cs" />
<Compile Include="OreTypes.cs" />
<Compile Include="ToolMaterial.cs" />
@ -105,4 +104,4 @@
<Name>fNbt</Name>
</ProjectReference>
</ItemGroup>
</Project>
</Project>

View File

@ -0,0 +1,43 @@
using System;
using TrueCraft.API.Logic;
using TrueCraft.API;
namespace TrueCraft.Core.Logic.Items
{
public class FlintAndSteelItem : ToolItem, ICraftingRecipe
{
public static readonly short ItemID = 0x103;
public override short ID { get { return 0x103; } }
public override sbyte MaximumStack { get { return 1; } }
public override short BaseDurability { get { return 65; } }
public override string DisplayName { get { return "Flint and Steel"; } }
public ItemStack[,] Pattern
{
get
{
return new[,]
{
{ new ItemStack(IronIngotItem.ItemID), new ItemStack(FlintItem.ItemID) }
};
}
}
public ItemStack Output
{
get
{
return new ItemStack(ItemID);
}
}
public bool SignificantMetadata
{
get
{
return false;
}
}
}
}

View File

@ -296,14 +296,7 @@
<Compile Include="MathHelper.cs" />
<Compile Include="Logging\PacketLogging.cs" />
<Compile Include="Logging\FileLogProvider.cs" />
<Compile Include="Entities\Entity.cs" />
<Compile Include="Entities\EntityEventArgs.cs" />
<Compile Include="Entities\ItemEntity.cs" />
<Compile Include="Entities\LivingEntity.cs" />
<Compile Include="Entities\ObjectEntity.cs" />
<Compile Include="Entities\PlayerEntity.cs" />
<Compile Include="Logic\Blocks\AirBlock.cs" />
<Compile Include="Entities\EntityFlags.cs" />
<Compile Include="Windows\CraftingBenchWindow.cs" />
<Compile Include="Networking\Packets\CloseWindowPacket.cs" />
<Compile Include="Logic\Items\ArmorItem.cs" />

View File

@ -64,11 +64,7 @@ namespace TrueCraft
{
e.PreventDefault = true;
var messageArray = e.Message.TrimStart('/')
<<<<<<< HEAD
.Split(new[] {' '}, StringSplitOptions.RemoveEmptyEntries);
=======
.Split(new[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
>>>>>>> New terrain generator
CommandManager.HandleCommand(e.Client, messageArray[0], messageArray);
return;
}