Removed unused method.

This commit is contained in:
2023-04-23 10:01:18 -04:00
parent 513c254479
commit 59e3938a72
3 changed files with 6 additions and 27 deletions
+2 -2
View File
@@ -512,7 +512,7 @@ public class Mob extends AbstractIntelligenceAgent {
writer.putInt(mob.currentID);
}
public static Mob createMob(int loadID, Vector3fImmutable spawn, Guild guild, boolean isMob, Zone parent, Building building, int contractID, String pirateName, int rank) {
public static Mob createMob(int loadID, Vector3fImmutable spawn, Guild guild, boolean isMob, Zone parent, Building building, int contractID, String pirateName, int level) {
Mob mobWithoutID = new Mob(pirateName, "", (short) 0, (short) 0, (short) 0, (short) 0, (short) 0, (short) 1, 0, false, false, false, spawn, spawn, Vector3fImmutable.ZERO, (short) 1, (short) 1, (short) 1, guild, (byte) 0, loadID, isMob, parent, building, contractID);
@@ -522,7 +522,7 @@ public class Mob extends AbstractIntelligenceAgent {
if (mobWithoutID.mobBase == null)
return null;
mobWithoutID.level = (short) (rank * 10);
mobWithoutID.level = (short) level;
Mob mob;