mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-28 03:19:21 +00:00
22 lines
916 B
Diff
22 lines
916 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: wangxyper <wangxyper@163.com>
|
|
Date: Fri, 13 Jan 2023 15:25:47 +0800
|
|
Subject: [PATCH] Hearse: Change something
|
|
|
|
Original license: MIT
|
|
Original project: https://github.com/NaturalCodeClub/HearseRewrite
|
|
|
|
diff --git a/src/main/java/co/earthme/hearse/server/ServerEntityTickHook.java b/src/main/java/co/earthme/hearse/server/ServerEntityTickHook.java
|
|
index 86f8afd54c0cbb449403c3f43e6880ade13cfecc..c0e7a9cf79ddf00827daba0aa9c7a32fa76b0c7c 100644
|
|
--- a/src/main/java/co/earthme/hearse/server/ServerEntityTickHook.java
|
|
+++ b/src/main/java/co/earthme/hearse/server/ServerEntityTickHook.java
|
|
@@ -88,7 +88,7 @@ public class ServerEntityTickHook {
|
|
}
|
|
}
|
|
};
|
|
- if (!asyncEntityEnabled || entity instanceof Player){
|
|
+ if (!asyncEntityEnabled){
|
|
task.run();
|
|
return;
|
|
}
|