From a4dafd7155e6765ba75a7092bca08da19fdb6e22 Mon Sep 17 00:00:00 2001 From: MagicBot Date: Sat, 26 Aug 2023 15:34:27 -0400 Subject: [PATCH] Unused variable in signature. --- src/engine/objects/Mob.java | 2 +- src/engine/powers/poweractions/CreateMobPowerAction.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine/objects/Mob.java b/src/engine/objects/Mob.java index e7d347b2..6e52c1dd 100644 --- a/src/engine/objects/Mob.java +++ b/src/engine/objects/Mob.java @@ -541,7 +541,7 @@ public class Mob extends AbstractIntelligenceAgent { return siegeMinion; } - public static Mob createPetMinion(int loadID, Guild guild, Zone parent, PlayerCharacter petOwner, short level) { + public static Mob createPetMinion(int loadID, Zone parent, PlayerCharacter petOwner, short level) { Mob petMinion = new Mob(); diff --git a/src/engine/powers/poweractions/CreateMobPowerAction.java b/src/engine/powers/poweractions/CreateMobPowerAction.java index ca9b11c8..c9e9d994 100644 --- a/src/engine/powers/poweractions/CreateMobPowerAction.java +++ b/src/engine/powers/poweractions/CreateMobPowerAction.java @@ -74,7 +74,7 @@ public class CreateMobPowerAction extends AbstractPowerAction { return; //create Pet - Mob pet = Mob.createPetMinion(mobID, guild, seaFloor, owner, (short) mobLevel); + Mob pet = Mob.createPetMinion(mobID, seaFloor, owner, (short) mobLevel); if (pet.getMobBaseID() == 12021 || pet.getMobBaseID() == 12022) { //is a necro pet