mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-22 07:13:28 -04:00
Fixed some housing bugs and Tusken Raider mobile template - see extended
Fixed a housing issue where the structure management terminal would be returned in the item list and could be deleted via the delete all items radial. Fixed item list to display proper names of objects. Fixed the Tusken Raider mobile template to display the proper creature name and changed their default weapons from an E11 and a T21 to a Tusken Rifle.
This commit is contained in:
@@ -151,7 +151,7 @@ public class BuildingObject extends TangibleObject implements IPersistent {
|
||||
public Vector<TangibleObject> getItemsList() {
|
||||
Vector<TangibleObject> items = new Vector<TangibleObject>();
|
||||
getCells().forEach(c -> c.viewChildren(c, true, false, (item) -> {
|
||||
if(!(item instanceof CreatureObject))
|
||||
if(!(item instanceof CreatureObject) && item.getTemplate() != "object/tangible/terminal/shared_terminal_player_structure.iff")
|
||||
items.add((TangibleObject) item);
|
||||
}));
|
||||
return items;
|
||||
|
||||
Reference in New Issue
Block a user