mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-23 19:35:10 -06:00
I am more retarded
This commit is contained in:
parent
287f1d04d5
commit
2cfb3f926a
1 changed files with 1 additions and 2 deletions
|
|
@ -214,8 +214,7 @@ public class NPC extends Entity {
|
|||
getProperties().setSpawnLocation(getLocation());
|
||||
initConfig();
|
||||
Repository.getNpcs().add(this);
|
||||
RegionManager.move(this, ServerConstants.START_LOCATION, this.location);
|
||||
getLocation().getChunk().add(this);
|
||||
RegionManager.move(this, ServerConstants.START_LOCATION, location);
|
||||
if (getLocation().getRegion().isActive()) {
|
||||
Repository.addRenderableNPC(this);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue