Skip to content

Commit

Permalink
Require bears to be adult to get saddled
Browse files Browse the repository at this point in the history
  • Loading branch information
ACGaming committed Dec 8, 2024
1 parent 729db63 commit a0a482b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public boolean processInteract(EntityPlayer player, EnumHand hand) {
return tameResult;
}

if (!stack.isEmpty() && getIsTamed() && !getIsRideable() && (getAge() > 80)
if (!stack.isEmpty() && getIsTamed() && !getIsRideable() && getIsAdult()
&& (stack.getItem() instanceof ItemSaddle)) {
if (!player.capabilities.isCreativeMode) stack.shrink(1);
setRideable(true);
Expand Down

0 comments on commit a0a482b

Please sign in to comment.