mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 06:30:46 +01:00
Fix return value of Block#applyBoneMeal always being false
This commit is contained in:
parent
df822c00c9
commit
4919926f51
1 changed files with 1 additions and 1 deletions
|
@ -558,7 +558,7 @@ public class CraftBlock implements Block {
|
|||
}
|
||||
}
|
||||
|
||||
return result == InteractionResult.SUCCESS && (event == null || !event.isCancelled());
|
||||
return result == InteractionResult.CONSUME && (event == null || !event.isCancelled()); // Paper - CONSUME is returned on success server-side (see BoneMealItem.applyBoneMeal and InteractionResult.sidedSuccess(boolean))
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue