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:
Waverunner
2014-07-13 14:21:17 -04:00
parent 71f66c0556
commit 02d03e2caa
5 changed files with 53 additions and 8 deletions
+2 -2
View File
@@ -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);