Skip to content

Commit

Permalink
decrement Stick and Bamboo
Browse files Browse the repository at this point in the history
  • Loading branch information
ChokoJoestar committed Jun 29, 2023
1 parent 85eb888 commit b262163
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,9 @@ public ActionResult interactMob(PlayerEntity player, Hand hand) {

/* SITTING SYSTEM */
if (!isBreedingItem(itemStack) && SITS.contains(item)) {
if (item == Items.STICK && item == Items.BAMBOO)
if (item == Items.STICK || item == Items.BAMBOO)
decrementItem(player, itemStack, 1);

if (!this.getWorld().isClient()) {
this.setSitting(!this.isSitting());
}
Expand Down

0 comments on commit b262163

Please sign in to comment.