Fix issues with metadata from mined wood and wool
This commit is contained in:
parent
eda920cb75
commit
cc1eccae02
@ -97,9 +97,11 @@ namespace TrueCraft.Core.Logic
|
||||
|
||||
protected virtual ItemStack[] GetDrop(BlockDescriptor descriptor, ItemStack item)
|
||||
{
|
||||
short meta = 0;
|
||||
short meta;
|
||||
if (this is ICraftingRecipe)
|
||||
meta = (short)((this as ICraftingRecipe).SignificantMetadata ? descriptor.Metadata : 0);
|
||||
else
|
||||
meta = descriptor.Metadata;
|
||||
return new[] { new ItemStack(descriptor.ID, 1, meta) };
|
||||
}
|
||||
|
||||
|
@ -50,7 +50,7 @@ namespace TrueCraft.Core.Logic.Blocks
|
||||
{
|
||||
get
|
||||
{
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user