Commits

Parker Hawke authored and md_5 committed 8c6115604b7
#702: Add Block#applyBoneMeal()
No tags

nms-patches/ItemActionContext.patch

Added
1 +--- a/net/minecraft/server/ItemActionContext.java
2 ++++ b/net/minecraft/server/ItemActionContext.java
3 +@@ -15,7 +15,7 @@
4 + this(entityhuman.world, entityhuman, enumhand, entityhuman.b(enumhand), movingobjectpositionblock);
5 + }
6 +
7 +- protected ItemActionContext(World world, @Nullable EntityHuman entityhuman, EnumHand enumhand, ItemStack itemstack, MovingObjectPositionBlock movingobjectpositionblock) {
8 ++ public ItemActionContext(World world, @Nullable EntityHuman entityhuman, EnumHand enumhand, ItemStack itemstack, MovingObjectPositionBlock movingobjectpositionblock) { // PAIL protected -> public
9 + this.a = entityhuman;
10 + this.b = enumhand;
11 + this.c = movingobjectpositionblock;

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut