forked from MagicBane/Server
Remove unused variable from signature.
This commit is contained in:
@@ -79,7 +79,7 @@ public class AddNPCCmd extends AbstractDevCmd {
|
||||
}
|
||||
|
||||
NPC npc = NPC.createNPC(name, contractID,
|
||||
pc.getLoc(), null, true, zone, (short) level, null);
|
||||
pc.getLoc(), null, zone, (short) level, null);
|
||||
|
||||
if (npc != null) {
|
||||
WorldGrid.addObject(npc, pc);
|
||||
|
||||
@@ -501,7 +501,7 @@ public enum BuildingManager {
|
||||
|
||||
NPC npc = null;
|
||||
|
||||
npc = NPC.createNPC(pirateName, NpcID.getObjectUUID(), NpcLoc, null, false, zone, (short) rank, building);
|
||||
npc = NPC.createNPC(pirateName, NpcID.getObjectUUID(), NpcLoc, null, zone, (short) rank, building);
|
||||
|
||||
if (npc == null)
|
||||
return false;
|
||||
@@ -569,7 +569,7 @@ public enum BuildingManager {
|
||||
return true;
|
||||
}
|
||||
|
||||
npc = NPC.createNPC(pirateName, contract.getObjectUUID(), Vector3fImmutable.ZERO, contractOwner.getGuild(), false, zone, (short) rank, building);
|
||||
npc = NPC.createNPC(pirateName, contract.getObjectUUID(), Vector3fImmutable.ZERO, contractOwner.getGuild(), zone, (short) rank, building);
|
||||
|
||||
if (npc == null)
|
||||
return false;
|
||||
|
||||
@@ -443,6 +443,7 @@ public class NPC extends AbstractCharacter {
|
||||
}
|
||||
|
||||
private static int serializeExtraRune(NPC npc, int runeID, int cnt, ByteBufferWriter writer) {
|
||||
|
||||
writer.putInt(5);
|
||||
writer.putInt(0);
|
||||
writer.putInt(runeID);
|
||||
@@ -456,7 +457,7 @@ public class NPC extends AbstractCharacter {
|
||||
return cnt + 1;
|
||||
}
|
||||
|
||||
public static NPC createNPC(String name, int contractID, Vector3fImmutable spawn, Guild guild, boolean isMob, Zone parent, short level, Building building) {
|
||||
public static NPC createNPC(String name, int contractID, Vector3fImmutable spawn, Guild guild, Zone parent, short level, Building building) {
|
||||
|
||||
NPC newNPC = new NPC();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user