mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-01 00:10:32 +01:00
0cdce89d59
If a playerdata doesn't contain a valid, loaded world, reset to the main world spawn point
29 lines
1.7 KiB
Diff
29 lines
1.7 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Nassim Jahnke <nassim@njahnke.dev>
|
|
Date: Mon, 3 Oct 2022 20:48:19 +0200
|
|
Subject: [PATCH] Remove unnecessary onTrackingStart during navigation warning
|
|
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java
|
|
index 008b0944dba1622e682ee21637273fb87f93dd37..2ef076900edc35b6a0beac4e6f7ee4a7f255671c 100644
|
|
--- a/src/main/java/net/minecraft/server/level/ServerLevel.java
|
|
+++ b/src/main/java/net/minecraft/server/level/ServerLevel.java
|
|
@@ -2588,7 +2588,7 @@ public class ServerLevel extends Level implements WorldGenLevel {
|
|
if (entity instanceof Mob) {
|
|
Mob entityinsentient = (Mob) entity;
|
|
|
|
- if (ServerLevel.this.isUpdatingNavigations) {
|
|
+ if (false && ServerLevel.this.isUpdatingNavigations) { // Paper
|
|
String s = "onTrackingStart called during navigation iteration";
|
|
|
|
Util.logAndPauseIfInIde("onTrackingStart called during navigation iteration", new IllegalStateException("onTrackingStart called during navigation iteration"));
|
|
@@ -2673,7 +2673,7 @@ public class ServerLevel extends Level implements WorldGenLevel {
|
|
if (entity instanceof Mob) {
|
|
Mob entityinsentient = (Mob) entity;
|
|
|
|
- if (ServerLevel.this.isUpdatingNavigations) {
|
|
+ if (false && ServerLevel.this.isUpdatingNavigations) { // Paper
|
|
String s = "onTrackingStart called during navigation iteration";
|
|
|
|
Util.logAndPauseIfInIde("onTrackingStart called during navigation iteration", new IllegalStateException("onTrackingStart called during navigation iteration"));
|