forked from 2009Scape/Server
demoffing pt 4
This commit is contained in:
parent
a4ff0bb9e6
commit
66b3725654
1 changed files with 2 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ import rs09.game.node.entity.combat.equipment.EquipmentDegrader;
|
|||
import rs09.game.node.entity.skill.runecrafting.PouchManager;
|
||||
import rs09.game.node.entity.state.newsys.State;
|
||||
import rs09.game.node.entity.state.newsys.StateRepository;
|
||||
import rs09.game.system.SystemLogger;
|
||||
import rs09.game.world.GameWorld;
|
||||
import rs09.game.world.repository.Repository;
|
||||
import rs09.game.world.update.MapChunkRenderer;
|
||||
|
|
@ -385,6 +386,7 @@ public class Player extends Entity {
|
|||
* @param force If we should force removal, a player engaged in combat will otherwise remain active until out of combat.
|
||||
*/
|
||||
public void clear(boolean force) {
|
||||
SystemLogger.logInfo("Clearing player...");
|
||||
/*if (!force && allowRemoval()) {
|
||||
Repository.getDisconnectionQueue().add(this, true);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue