@@ -40,5 +40,5 @@
|
||||
+ // CraftBukkit end
|
||||
+
|
||||
this.dispensed = ((ItemBlock) item).a((BlockActionContext) (new BlockActionContextDirectional(isourceblock.getWorld(), blockposition, enumdirection, itemstack, enumdirection1))) == EnumInteractionResult.SUCCESS;
|
||||
if (this.dispensed) {
|
||||
itemstack.subtract(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user