Skip to content

Commit

Permalink
Merge pull request #93 from demonlexe/91-kitty-medallion-bugfix
Browse files Browse the repository at this point in the history
Kitty Medallion Bugfix (READY)
  • Loading branch information
IcarussOne authored Dec 31, 2023
2 parents 23aa388 + 467ad73 commit 6144a21
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,10 @@ public Boolean processTameInteract(EntityPlayer player, EnumHand hand) {
if (petData != null) {
petData.setInAmulet(this.getOwnerPetId(), true);
}
this.dropMyStuff();
if (!(this instanceof MoCEntityKitty)) {
// bugfix for Kitty, #91 - was dropping medallion when captured in amulet
this.dropMyStuff();
}
MoCTools.dropAmulet(this, 2, player);
this.isDead = true;
}
Expand Down

0 comments on commit 6144a21

Please sign in to comment.