mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-16 12:02:47 +00:00
@@ -13,10 +13,12 @@ public abstract class AbstractObject implements WorldObject {
|
||||
*/
|
||||
protected ObjectID<?> id;
|
||||
|
||||
@Override
|
||||
public ObjectID<?> getID() {
|
||||
return id;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setID(ObjectID<?> id) {
|
||||
if (this.id != null)
|
||||
throw new IllegalStateException("ID is already set!");
|
||||
|
||||
Reference in New Issue
Block a user