Commit to "tameness" name over "closeness" for pets, fix scripts

This commit is contained in:
P0nk
2022-09-15 17:12:21 +02:00
parent 125d0aa03d
commit 1a28fc98ac
11 changed files with 18 additions and 18 deletions

View File

@@ -81,7 +81,7 @@ public final class PetFoodHandler extends AbstractPacketHandler {
return;
}
pet.gainClosenessFullness(chr, (pet.getFullness() <= 75) ? 1 : 0, 30, 1); // 25+ "emptyness" to get +1 closeness
pet.gainTamenessFullness(chr, (pet.getFullness() <= 75) ? 1 : 0, 30, 1); // 25+ "emptyness" to get +1 tameness
InventoryManipulator.removeFromSlot(c, InventoryType.USE, pos, (short) 1, false);
} finally {
useInv.unlockInventory();