diff options
author | Noah van der Aa <[email protected]> | 2021-12-01 02:31:13 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-11-30 17:31:13 -0800 |
commit | cd9fe9ca642322f8ba560a8c0f86c877af2cd10f (patch) | |
tree | 0099ebdd316d7b54e32fde7c5039011555b330ad /patches/server/0350-Prevent-bees-loading-chunks-checking-hive-position.patch | |
parent | effa3bad36df91b9cca1920e357b963806f62ff6 (diff) | |
download | Paper-cd9fe9ca642322f8ba560a8c0f86c877af2cd10f.tar.gz Paper-cd9fe9ca642322f8ba560a8c0f86c877af2cd10f.zip |
Port flat bedrock (generator settings) to 1.18 (#6960)
Diffstat (limited to 'patches/server/0350-Prevent-bees-loading-chunks-checking-hive-position.patch')
-rw-r--r-- | patches/server/0350-Prevent-bees-loading-chunks-checking-hive-position.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/patches/server/0350-Prevent-bees-loading-chunks-checking-hive-position.patch b/patches/server/0350-Prevent-bees-loading-chunks-checking-hive-position.patch deleted file mode 100644 index 1a6db3ffe9..0000000000 --- a/patches/server/0350-Prevent-bees-loading-chunks-checking-hive-position.patch +++ /dev/null @@ -1,18 +0,0 @@ -From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 -From: William Blake Galbreath <[email protected]> -Date: Sun, 5 Jan 2020 17:24:34 -0600 -Subject: [PATCH] Prevent bees loading chunks checking hive position - - -diff --git a/src/main/java/net/minecraft/world/entity/animal/Bee.java b/src/main/java/net/minecraft/world/entity/animal/Bee.java -index 4d335a725506cbf54604ea3e76ca39ef0f3ca013..d5d61129d72f061ef1e45d39778072ee1e51fc2d 100644 ---- a/src/main/java/net/minecraft/world/entity/animal/Bee.java -+++ b/src/main/java/net/minecraft/world/entity/animal/Bee.java -@@ -497,6 +497,7 @@ public class Bee extends Animal implements NeutralMob, FlyingAnimal { - if (!this.hasHive()) { - return false; - } else { -+ if (level.getChunkIfLoadedImmediately(hivePos.getX() >> 4, hivePos.getZ() >> 4) == null) return true; // Paper - just assume the hive is still there, no need to load the chunk(s) - BlockEntity tileentity = this.level.getBlockEntity(this.hivePos); - - return tileentity != null && tileentity.getType() == BlockEntityType.BEEHIVE; |