Fixed static service bug, tweaked buildout loading

Plus fixed some static spawn script errors
This commit is contained in:
CharonInferar
2014-10-08 21:52:21 +02:00
parent 576ddbe93c
commit 2475675ccf
8 changed files with 82 additions and 51 deletions
+2 -4
View File
@@ -127,11 +127,9 @@ public class StaticService implements INetworkDispatch {
long buildingId = 0;
int cellNumber = 0;
SWGObject cell = null;
SWGObject cell = core.objectService.getObject(cellId);
if (cellId != 0L && cellId != 0) {
cell = core.objectService.getObject(cellId);
} else {
if (cellId != 0 && cell == null) {
System.err.println("CellId invalid for template " + template);
return null;
}