even even even even even even more work
This commit is contained in:
@@ -14,8 +14,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
|
||||
public void playerTick() {
|
||||
try {
|
||||
- if (!this.isSpectator() || this.world.isLoaded(new BlockPosition(this))) {
|
||||
+ if (valid && (!this.isSpectator() || this.world.isLoaded(new BlockPosition(this)))) { // Paper - don't tick dead players that are not in the world currently (pending respawn)
|
||||
- if (!this.isSpectator() || this.world.isLoaded(this.getChunkCoordinates())) {
|
||||
+ if (valid && !this.isSpectator() || this.world.isLoaded(this.getChunkCoordinates())) { // Paper - don't tick dead players that are not in the world currently (pending respawn)
|
||||
super.tick();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user