mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-09-28 13:12:54 -04:00
Added maintenance task for buildings
This commit is contained in:
@@ -210,9 +210,8 @@ public class BuildingObject extends TangibleObject implements IPersistent, Seria
|
||||
return getCustomName();
|
||||
}
|
||||
|
||||
public void setBuildingName(String buildingName, CreatureObject owner) {
|
||||
public void setBuildingName(String buildingName) {
|
||||
setCustomName(buildingName);
|
||||
((CreatureObject) owner).sendSystemMessage("Structure renamed.", DisplayType.Broadcast);
|
||||
SWGObject sign = (SWGObject) getAttachment("sign");
|
||||
if(sign != null)
|
||||
sign.setCustomName(buildingName);
|
||||
|
||||
Reference in New Issue
Block a user