From b1bfe7b55f33db5a9d68169f7e0a3503cad066ff Mon Sep 17 00:00:00 2001 From: Spottedleaf Date: Sun, 12 May 2024 04:02:09 -0700 Subject: [PATCH] Properly use WorldGenRegion structure manager for swamp hut cat generation Fixes a crash when attempting to retrieve the chunk data, as Folia does not support off-region sync chunk loads. Fixes https://github.com/PaperMC/Folia/issues/221 --- patches/server/0003-Threaded-Regions.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/server/0003-Threaded-Regions.patch b/patches/server/0003-Threaded-Regions.patch index cef2974e6..3488190ca 100644 --- a/patches/server/0003-Threaded-Regions.patch +++ b/patches/server/0003-Threaded-Regions.patch @@ -18028,7 +18028,7 @@ index 0dfb8109fd8c022b079da00f6a0e3fc85b57bf7a..cdc431ab27b1837b852c8fb559d0324b } diff --git a/src/main/java/net/minecraft/world/entity/animal/Cat.java b/src/main/java/net/minecraft/world/entity/animal/Cat.java -index 07559b9629d4ecb40b511256f400a781e39820e0..6d24e4efeda9265a1b02c807dbed96b7db765424 100644 +index 07559b9629d4ecb40b511256f400a781e39820e0..1cd5f0178c016736ebaf0f4449262da680cc2fab 100644 --- a/src/main/java/net/minecraft/world/entity/animal/Cat.java +++ b/src/main/java/net/minecraft/world/entity/animal/Cat.java @@ -367,7 +367,7 @@ public class Cat extends TamableAnimal implements VariantHolder