Fixed tooltip issue. Closes #865
This commit is contained in:
parent
30ee947c22
commit
e26d7e3a0c
2 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue