1
0
mirror of https://github.com/Rogiel/l2jserver2 synced 2026-05-01 04:24:01 +00:00

Update XSD files for templates

This commit updades all XSD files for templates.
This commit is contained in:
2011-10-11 23:45:02 -03:00
parent fe882c4467
commit 6a40656a38
26363 changed files with 95293 additions and 94194 deletions

View File

@@ -55,13 +55,15 @@ public class ItemTemplateIDAdapter extends XmlAdapter<Integer, ItemTemplateID> {
return null;
if (provider == null)
return new ItemTemplateID(v, null);
if (v == null)
v = 57; // FIXME create constant holding important item ids
return provider.resolveID(v);
}
@Override
public Integer marshal(ItemTemplateID v) throws Exception {
if (v == null)
return 0;
return 57;
return v.getID();
}
}