Rename and clean up MaplePet

This commit is contained in:
P0nk
2021-09-09 20:51:30 +02:00
parent 5ed7cf73d1
commit 6ca5abd896
25 changed files with 121 additions and 113 deletions

View File

@@ -24,7 +24,7 @@ package scripting.npc;
import client.*;
import client.inventory.Item;
import client.inventory.ItemFactory;
import client.inventory.MaplePet;
import client.inventory.Pet;
import config.YamlConfig;
import constants.game.GameConstants;
import constants.inventory.ItemConstants;
@@ -336,7 +336,7 @@ public class NPCConversationManager extends AbstractPlayerInteraction {
}
public void gainCloseness(int closeness) {
for (MaplePet pet : getPlayer().getPets()) {
for (Pet pet : getPlayer().getPets()) {
if(pet != null) {
pet.gainClosenessFullness(getPlayer(), closeness, 0, 0);
}