Stopped thorns from damaging the player if broken with bare hands

This commit is contained in:
Forstride 2017-03-01 11:38:40 -05:00 committed by GitHub
parent 961e57a304
commit 0e5bbc753f

View file

@ -268,12 +268,12 @@ public class BlockBOPPlant extends BlockBOPDecoration implements IShearable, IHo
switch ((BOPPlants) state.getValue(this.variantProperty))
{
// suffer cactus damage if you harvest thorn without shears
case THORN:
/*case THORN:
if (!usingShears)
{
player.attackEntityFrom(DamageSource.CACTUS, 2);
}
break;
break;*/
default:
break;