mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-11 09:42:54 +00:00
@@ -23,8 +23,7 @@ import com.l2jserver.model.template.ActorTemplate;
|
||||
import com.l2jserver.service.game.template.TemplateService;
|
||||
|
||||
/**
|
||||
* An {@link TemplateID} instance representing an {@link ActorTemplate}
|
||||
* object
|
||||
* An {@link TemplateID} instance representing an {@link ActorTemplate} object
|
||||
*
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
@@ -35,8 +34,7 @@ public class ActorTemplateID<T extends ActorTemplate<?>> extends TemplateID<T> {
|
||||
private final TemplateService templateService;
|
||||
|
||||
@Inject
|
||||
protected ActorTemplateID(@Assisted int id,
|
||||
TemplateService templateService) {
|
||||
protected ActorTemplateID(@Assisted int id, TemplateService templateService) {
|
||||
super(id);
|
||||
this.templateService = templateService;
|
||||
}
|
||||
|
||||
@@ -23,15 +23,13 @@ import com.l2jserver.model.template.NPCTemplate;
|
||||
import com.l2jserver.service.game.template.TemplateService;
|
||||
|
||||
/**
|
||||
* An {@link TemplateID} instance representing an {@link NPCTemplate}
|
||||
* object
|
||||
* An {@link TemplateID} instance representing an {@link NPCTemplate} object
|
||||
*
|
||||
* @author <a href="http://www.rogiel.com">Rogiel</a>
|
||||
*/
|
||||
public class NPCTemplateID extends ActorTemplateID<NPCTemplate> {
|
||||
@Inject
|
||||
protected NPCTemplateID(@Assisted int id,
|
||||
TemplateService templateService) {
|
||||
protected NPCTemplateID(@Assisted int id, TemplateService templateService) {
|
||||
super(id, templateService);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user