mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-31 01:15:57 -04:00
Fixed spawning in the buildout buildings, fixed gm permissions, added command to lock and unlock server for gms
This commit is contained in:
@@ -148,6 +148,7 @@ public class SimulationService implements INetworkDispatch {
|
||||
core.commandService.registerGmCommand("setgodmode");
|
||||
core.commandService.registerCommand("requestwaypointatposition");
|
||||
core.commandService.registerCommand("meditate");
|
||||
core.commandService.registerGmCommand("server");
|
||||
|
||||
}
|
||||
|
||||
@@ -622,7 +623,7 @@ public class SimulationService implements INetworkDispatch {
|
||||
SWGObject obj = it.next();
|
||||
if(obj.getAttachment("bigSpawnRange") == null && obj.getWorldPosition().getDistance(pos) > 200)
|
||||
continue;
|
||||
System.out.println(obj.getTemplate());
|
||||
//System.out.println(obj.getTemplate());
|
||||
object.makeAware(obj);
|
||||
if(obj.getClient() != null)
|
||||
obj.makeAware(object);
|
||||
|
||||
Reference in New Issue
Block a user