mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-01 02:14:32 +07:00
Moved details init to Item.load()
This commit is contained in:
parent
bf9993a643
commit
46a0d81b23
@ -189,11 +189,12 @@ public class Item extends Actor implements Disposable {
|
||||
}
|
||||
}
|
||||
|
||||
details = new Details();
|
||||
return this;
|
||||
}
|
||||
|
||||
public void load() {
|
||||
details = new Details();
|
||||
|
||||
if (invFileDescriptor != null) return;
|
||||
invFileDescriptor = new AssetDescriptor<>("data\\global\\items\\" + getInvFileName() + '.' + DC6.EXT, DC6.class);
|
||||
Riiablo.assets.load(invFileDescriptor);
|
||||
|
Loading…
Reference in New Issue
Block a user