mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-13 02:32:51 +00:00
Change-Id: I0cca627373c68d94025647f802a7fa6b419e0aad
This commit is contained in:
@@ -8,13 +8,15 @@ import com.l2jserver.model.id.ObjectID;
|
||||
* @author Rogiel
|
||||
*/
|
||||
public abstract class AbstractObject implements WorldObject {
|
||||
protected ObjectID id;
|
||||
protected ObjectID<?> id;
|
||||
|
||||
public ObjectID getId() {
|
||||
public ObjectID<?> getID() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(ObjectID id) {
|
||||
public void setID(ObjectID<?> id) {
|
||||
if (this.id != null)
|
||||
throw new IllegalStateException("ID is already set!");
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user