mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-02 17:12:58 -04:00
Added GM reporting of buildingId in buildings
This commit is contained in:
@@ -460,6 +460,8 @@ public class SimulationService implements INetworkDispatch {
|
||||
remove(object, oldPos.x, oldPos.z);
|
||||
if(object.getContainer() != null)
|
||||
object.getContainer()._remove(object);
|
||||
else if (object.getClient().isGM() && parent.getContainer() != null)
|
||||
object.sendSystemMessage("BuildingId: Dec: " + parent.getContainer().getObjectID() + " / Hex: " + Long.toHexString(parent.getContainer().getObjectID()), DisplayType.Broadcast);
|
||||
parent._add(object);
|
||||
}
|
||||
object.setPosition(newPos);
|
||||
|
||||
Reference in New Issue
Block a user