mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-16 06:13:45 -04:00
avoid errors
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user