mirror of
https://github.com/PaperMC/Paper.git
synced 2025-05-19 05:30:23 -07:00
CraftBlock - fix applyBoneMeal false result (#12407)
This commit is contained in:
parent
0cf731589a
commit
0767902699
@ -577,7 +577,7 @@ public class CraftBlock implements Block {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return result == InteractionResult.CONSUME && (event == null || !event.isCancelled()); // Paper - CONSUME is returned on success server-side (see BoneMealItem.applyBoneMeal and InteractionResult.sidedSuccess(boolean))
|
return result == InteractionResult.SUCCESS && (event == null || !event.isCancelled());
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user