mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-08-02 03:15:52 -04:00
Fixed loads of warnings
This commit is contained in:
@@ -289,7 +289,6 @@ public class Forager {
|
||||
break;
|
||||
}
|
||||
wormie.setCustomName(name);
|
||||
wormie.setCustomName2(name);
|
||||
wormie.setLevel(forager.getLevel());
|
||||
wormie.setOptions(Options.AGGRESSIVE, true);
|
||||
wormie.setOptions(Options.ATTACKABLE, true);
|
||||
@@ -342,7 +341,6 @@ public class Forager {
|
||||
|
||||
goon.addObserver(forager);
|
||||
goon.setCustomName(name);
|
||||
goon.setCustomName2(name);
|
||||
goon.setLevel(forager.getLevel());
|
||||
goon.setOptions(Options.AGGRESSIVE, true);
|
||||
goon.setOptions(Options.ATTACKABLE, true);
|
||||
@@ -418,7 +416,6 @@ public class Forager {
|
||||
|
||||
guard.addObserver(owner); // ToDo: add any players in aggro range!!!
|
||||
guard.setCustomName(name);
|
||||
guard.setCustomName2(name);
|
||||
guard.setLevel(owner.getLevel());
|
||||
guard.setOptions(Options.AGGRESSIVE, true);
|
||||
guard.setOptions(Options.ATTACKABLE, true);
|
||||
@@ -434,8 +431,8 @@ public class Forager {
|
||||
|
||||
public CreatureObject spawnBoss(Point3D exactTreasureLocation, CreatureObject owner, TangibleObject map, short spawnLevel){
|
||||
|
||||
Point3D treasureLocation = resources.common.SpawnPoint.getRandomPosition(exactTreasureLocation, 1, 10, owner.getPlanetId());
|
||||
return new CreatureObject();
|
||||
//Point3D treasureLocation = resources.common.SpawnPoint.getRandomPosition(exactTreasureLocation, 1, 10, owner.getPlanetId());
|
||||
return new CreatureObject(); // FIXME on paper this looks bad
|
||||
}
|
||||
|
||||
@SuppressWarnings("unchecked")
|
||||
|
||||
Reference in New Issue
Block a user