13
0
geforkt von Mirrors/Paper

Fix return value of Block#applyBoneMeal always being false

Dieser Commit ist enthalten in:
Jason Penilla 2021-06-28 18:16:52 -07:00
Ursprung df822c00c9
Commit 4919926f51

Datei anzeigen

@ -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