Fixed tooltip issue. Closes #865

This commit is contained in:
drcrazy 2017-09-07 18:29:52 +03:00
parent 30ee947c22
commit e26d7e3a0c
2 changed files with 4 additions and 5 deletions

View file

@ -80,7 +80,7 @@ public class BlockPlayerDetector extends BlockMachineBase {
@Override
public ItemStack getPickBlock(IBlockState state, RayTraceResult target, World world, BlockPos pos, EntityPlayer player) {
return new ItemStack(ModBlocks.PLAYER_DETECTOR, typeNamesList.indexOf(state.getValue(TYPE)));
return new ItemStack(ModBlocks.PLAYER_DETECTOR, 1, typeNamesList.indexOf(state.getValue(TYPE)));
}
@Override