From 53081c6e5ff8078fdfd41276f6224da5f0dc303e Mon Sep 17 00:00:00 2001 From: Aurora Date: Mon, 14 Jun 2021 17:17:08 +0200 Subject: [PATCH] even more compile fixes --- patches/server/0518-Entity-isTicking.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/server/0518-Entity-isTicking.patch b/patches/server/0518-Entity-isTicking.patch index 544d8d71b..cf7794741 100644 --- a/patches/server/0518-Entity-isTicking.patch +++ b/patches/server/0518-Entity-isTicking.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Entity#isTicking diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java -index dac4585ba1bfc782b3e381dfba0a1b9abbb6a2d7..7ecf78759ff7e3d64bb09306e55d54402a2d99a5 100644 +index dac4585ba1bfc782b3e381dfba0a1b9abbb6a2d7..d1199a166dfc88722e13dbdfeb86d9c89e7e8513 100644 --- a/src/main/java/net/minecraft/world/entity/Entity.java +++ b/src/main/java/net/minecraft/world/entity/Entity.java @@ -52,6 +52,7 @@ import net.minecraft.resources.ResourceKey; @@ -22,7 +22,7 @@ index dac4585ba1bfc782b3e381dfba0a1b9abbb6a2d7..7ecf78759ff7e3d64bb09306e55d5440 } + + public boolean isTicking() { -+ return ((ServerChunkCache) level.getChunkSource()).isInEntityTickingChunk(this); ++ return ((ServerChunkCache) level.getChunkSource()).isPositionTicking(this); + } // Paper end }