forked from MagicBane/Server
inline method
This commit is contained in:
@@ -160,7 +160,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
private boolean asciiLastName = true;
|
||||
private int spamCount = 0;
|
||||
private boolean initialized = false;
|
||||
private boolean enteredWorld = false;
|
||||
public boolean enteredWorld = false;
|
||||
private boolean canBreathe = true;
|
||||
private String hash;
|
||||
private ArrayList<GuildHistory> guildHistory = new ArrayList<>();
|
||||
@@ -4852,7 +4852,7 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
//if(this.isBoxed && this.containsEffect(429611355) == false) {//pathfinding
|
||||
// PowersManager.applyPower(this, this, Vector3fImmutable.ZERO, 429611355, 40, false);
|
||||
//}
|
||||
if(this.isEnteredWorld() && this.isActive() && this.isAlive()){
|
||||
if(enteredWorld && this.isActive() && this.isAlive()){
|
||||
if( this.getLevel() < 10) {
|
||||
this.setLevel((short) 10);
|
||||
boolean hasConc = false;
|
||||
@@ -5554,14 +5554,6 @@ public class PlayerCharacter extends AbstractCharacter {
|
||||
this.centerHeight = centerHeight;
|
||||
}
|
||||
|
||||
public boolean isEnteredWorld() {
|
||||
return enteredWorld;
|
||||
}
|
||||
|
||||
public void setEnteredWorld(boolean enteredWorld) {
|
||||
this.enteredWorld = enteredWorld;
|
||||
}
|
||||
|
||||
public long getChannelMute() {
|
||||
return channelMute;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user