inline method

This commit is contained in:
2024-05-18 14:58:52 -05:00
parent c1331efe38
commit f28c887b92
5 changed files with 7 additions and 22 deletions
+2 -10
View File
@@ -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;
}