mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-14 04:13:14 -04:00
Added a frog building outside of Mos Espa near West Shuttleport - spawns on server startup with 1 frog
Removed frog from Mos Eisley Added "New Frog" option for GMs on CBT Added addToFrogAdminList argument for setGodMode for GMs - allows GMs to put down items inside the frog building (ie more frogs!)
This commit is contained in:
@@ -550,8 +550,8 @@ public class SimulationService implements INetworkDispatch {
|
||||
object.getContainer()._remove(object);
|
||||
if (object.getClient() == null)
|
||||
System.err.println("Client is null! This is a very strange error.");
|
||||
if (object.getClient() != null && object.getClient().isGM() && parent != null && parent instanceof CellObject && parent.getContainer() != null)
|
||||
object.sendSystemMessage("BuildingId - Dec: " + parent.getContainer().getObjectID() + " Hex: " + Long.toHexString(parent.getContainer().getObjectID()) + " CellNumber: " + ((CellObject) parent).getCellNumber(), DisplayType.Broadcast);
|
||||
//if (object.getClient() != null && object.getClient().isGM() && parent != null && parent instanceof CellObject && parent.getContainer() != null)
|
||||
//object.sendSystemMessage("BuildingId - Dec: " + parent.getContainer().getObjectID() + " Hex: " + Long.toHexString(parent.getContainer().getObjectID()) + " CellNumber: " + ((CellObject) parent).getCellNumber(), DisplayType.Broadcast);
|
||||
parent._add(object);
|
||||
}
|
||||
object.setPosition(newPos);
|
||||
|
||||
Reference in New Issue
Block a user