mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-03-05 23:20:32 +07:00
Simplified expression for PathWrapper creation
This commit is contained in:
parent
30a0c6a31f
commit
3b9d56252f
@ -142,9 +142,7 @@ public class ClientEntityFactory extends EntityFactory {
|
||||
|
||||
mDS1ObjectWrapper.create(id).set(preset.getDS1(), object);
|
||||
|
||||
if (object != null && object.path != null) {
|
||||
mPathWrapper.create(id).path = object.path;
|
||||
}
|
||||
if (object.path != null) mPathWrapper.create(id).path = object.path;
|
||||
|
||||
return id;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user