Skip to content

Commit

Permalink
Removed redundant parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonhardaway committed Apr 6, 2021
1 parent 5a59f12 commit 4ee573e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ public void tick() {

if (this.slabfish.getDistanceSq(this.effigyPos.getX() + 0.5, this.effigyPos.getY(), this.effigyPos.getZ() + 0.5) < 3.5D) {
this.slabfish.getNavigator().clearPath();
this.throwItems(this.effigyPos);
this.throwItems();
}
}
}

private void throwItems(BlockPos pos) {
private void throwItems() {
Random rand = this.slabfish.getRNG();

for (int i = 3; i < this.slabfish.slabfishBackpack.getSizeInventory(); i++) {
Expand Down

0 comments on commit 4ee573e

Please sign in to comment.