Switched to using getMetadata() rather than getItemDamage(). Closes #897 (If it doesn't, I blame Gregtech)

This commit is contained in:
Adubbz 2016-11-16 16:10:53 +11:00
parent 711c696b87
commit fcc7c37195
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ public class AchievementEventHandler
Item item = stack.getItem();
Block block = Block.getBlockFromItem(item);
IBlockState state = block != null ? block.getStateFromMeta(stack.getItemDamage()) : null;
IBlockState state = block != null ? block.getStateFromMeta(stack.getMetadata()) : null;
EntityPlayer player = event.player;
if (block != null && block instanceof BlockBOPLog)