mirror of
https://github.com/ProjectSWGCore/NGECore2.git
synced 2026-07-15 00:07:39 -04:00
Fixed error with conflicting object ids
This commit is contained in:
@@ -385,7 +385,7 @@ public class ObjectService implements INetworkDispatch {
|
||||
} catch (SQLException e) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
if(getObject(newId) == null)
|
||||
if(getObject(newId) == null && getCreatureFromDB(newId) == null)
|
||||
return newId;
|
||||
else
|
||||
return generateObjectID();
|
||||
|
||||
Reference in New Issue
Block a user