mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2026-08-01 14:39:13 -06:00
setAttribute(pl,saveLastActivity,POH_Activity);
This commit is contained in:
parent
e41e107c74
commit
c66a9f77fa
1 changed files with 2 additions and 1 deletions
|
|
@ -15,6 +15,7 @@ import core.game.world.map.zone.ZoneType;
|
|||
import static content.global.skill.construction.HouseManager.POH_Activity;
|
||||
import static core.api.ContentAPIKt.*;
|
||||
import static core.game.activity.ActivityManager.lastActivity;
|
||||
import static core.game.activity.ActivityManager.saveLastActivity;
|
||||
|
||||
/**
|
||||
* Handles the player owned house zone.
|
||||
|
|
@ -69,7 +70,7 @@ public final class HouseZone extends MapZone {
|
|||
public boolean enter(Entity e) {
|
||||
if (e instanceof Player) {
|
||||
Player pl = (Player) e;
|
||||
pl.setAttribute("/save:"+lastActivity,POH_Activity);
|
||||
setAttribute(pl,saveLastActivity,POH_Activity);
|
||||
if (house == pl.getHouseManager()) {
|
||||
previousRegion = house.getHouseRegion().getId();
|
||||
if (house.getDungeonRegion() != null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue