SPIGOT-6653: Canceling snow bucket placement removes snow from bucket
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -112,7 +112,7 @@
|
||||
+ int oldCount = this.getCount();
|
||||
+ WorldServer world = (WorldServer) itemactioncontext.getWorld();
|
||||
+
|
||||
+ if (!(this.getItem() instanceof ItemBucket)) { // if not bucket
|
||||
+ if (!(this.getItem() instanceof ItemBucket || this.getItem() instanceof SolidBucketItem)) { // if not bucket
|
||||
+ world.captureBlockStates = true;
|
||||
+ // special case bonemeal
|
||||
+ if (this.getItem() == Items.BONE_MEAL) {
|
||||
|
||||
Reference in New Issue
Block a user