mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-10-12 02:13:48 -04:00
longs when null equate to 0L
This commit is contained in:
@@ -1148,9 +1148,10 @@ public class ObjectService implements INetworkDispatch {
|
||||
System.err.println("NULL Client");
|
||||
return;
|
||||
}
|
||||
|
||||
CreatureObject creature = null;
|
||||
|
||||
if(objectId != 0 && objectId != 0L && getObject(objectId) == null) {
|
||||
if(objectId != 0L && getObject(objectId) == null) {
|
||||
creature = getCreatureFromDB(objectId);
|
||||
if(creature == null) {
|
||||
System.err.println("Cant get creature from db");
|
||||
|
||||
Reference in New Issue
Block a user