aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0851-Remove-unnecessary-onTrackingStart-during-navigation.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2023-12-08 15:14:42 -0800
committerJake Potrebic <[email protected]>2023-12-08 15:14:42 -0800
commit9051fc347c428500090e814c98e9d8503dc7a205 (patch)
treeba8b6fcda92d46b0d145b812684a980d93789c77 /patches/server/0851-Remove-unnecessary-onTrackingStart-during-navigation.patch
parentf17622cc3d227cf260d2b3a378830f34b73d7368 (diff)
downloadPaper-9051fc347c428500090e814c98e9d8503dc7a205.tar.gz
Paper-9051fc347c428500090e814c98e9d8503dc7a205.zip
remove redundant patch
Diffstat (limited to 'patches/server/0851-Remove-unnecessary-onTrackingStart-during-navigation.patch')
-rw-r--r--patches/server/0851-Remove-unnecessary-onTrackingStart-during-navigation.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/patches/server/0851-Remove-unnecessary-onTrackingStart-during-navigation.patch b/patches/server/0851-Remove-unnecessary-onTrackingStart-during-navigation.patch
deleted file mode 100644
index 9a13680600..0000000000
--- a/patches/server/0851-Remove-unnecessary-onTrackingStart-during-navigation.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Nassim Jahnke <[email protected]>
-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 66eecf5155f8f526480511d2b3af1b6f87280474..22dd14b715f91c7771411a5375cf470fc2c940d5 100644
---- a/src/main/java/net/minecraft/server/level/ServerLevel.java
-+++ b/src/main/java/net/minecraft/server/level/ServerLevel.java
-@@ -2637,7 +2637,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"));
-@@ -2723,7 +2723,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"));