mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-08 08:23:11 +00:00
Gatekeeper complete implementation
Signed-off-by: Rogiel <rogiel@rogiel.com>
This commit is contained in:
@@ -29,7 +29,7 @@ import com.l2jserver.model.id.template.provider.TeleportationTemplateIDProvider;
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
public class TeleportationTemplateIDAdapter extends
|
||||
XmlAdapter<String, TeleportationTemplateID> {
|
||||
XmlAdapter<Integer, TeleportationTemplateID> {
|
||||
private final TeleportationTemplateIDProvider provider;
|
||||
|
||||
public TeleportationTemplateIDAdapter() {
|
||||
@@ -43,7 +43,7 @@ public class TeleportationTemplateIDAdapter extends
|
||||
}
|
||||
|
||||
@Override
|
||||
public TeleportationTemplateID unmarshal(String v) throws Exception {
|
||||
public TeleportationTemplateID unmarshal(Integer v) throws Exception {
|
||||
if (v == null)
|
||||
return null;
|
||||
if (provider == null)
|
||||
@@ -52,7 +52,7 @@ public class TeleportationTemplateIDAdapter extends
|
||||
}
|
||||
|
||||
@Override
|
||||
public String marshal(TeleportationTemplateID v) throws Exception {
|
||||
public Integer marshal(TeleportationTemplateID v) throws Exception {
|
||||
if (v == null)
|
||||
return null;
|
||||
return v.getID();
|
||||
|
||||
Reference in New Issue
Block a user