diff options
Diffstat (limited to 'nms-patches/DispenseBehaviorProjectile.patch')
-rw-r--r-- | nms-patches/DispenseBehaviorProjectile.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nms-patches/DispenseBehaviorProjectile.patch b/nms-patches/DispenseBehaviorProjectile.patch index 5cf558a8..2ce244de 100644 --- a/nms-patches/DispenseBehaviorProjectile.patch +++ b/nms-patches/DispenseBehaviorProjectile.patch @@ -12,8 +12,8 @@ public DispenseBehaviorProjectile() {} @@ -10,9 +15,38 @@ - EnumDirection enumdirection = BlockDispenser.b(isourceblock.f()); - IProjectile iprojectile = this.a(world, iposition); + EnumDirection enumdirection = BlockDispenser.e(isourceblock.f()); + IProjectile iprojectile = this.a(world, iposition, itemstack); - iprojectile.shoot((double) enumdirection.getAdjacentX(), (double) ((float) enumdirection.getAdjacentY() + 0.1F), (double) enumdirection.getAdjacentZ(), this.getPower(), this.a()); + // iprojectile.shoot((double) enumdirection.getAdjacentX(), (double) ((float) enumdirection.getAdjacentY() + 0.1F), (double) enumdirection.getAdjacentZ(), this.b(), this.a()); |