mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-03-06 07:30:41 +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);
|
mDS1ObjectWrapper.create(id).set(preset.getDS1(), object);
|
||||||
|
|
||||||
if (object != null && object.path != null) {
|
if (object.path != null) mPathWrapper.create(id).path = object.path;
|
||||||
mPathWrapper.create(id).path = object.path;
|
|
||||||
}
|
|
||||||
|
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user