avoid errors

This commit is contained in:
Matt Parnell
2014-10-05 01:24:59 -05:00
parent 23bdbcb0ef
commit a549bedd6b
+3 -1
View File
@@ -127,8 +127,10 @@ public class StaticService implements INetworkDispatch {
long buildingId = 0;
int cellNumber = 0;
SWGObject cell = null;
if (cellId != 0L && cellId != 0) {
SWGObject cell = core.objectService.getObject(cellId);
cell = core.objectService.getObject(cellId);
} else {
System.err.println("CellId invalid for template " + template);
return null;