mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 05:47:45 +01:00
Fix MC-252439 (#7994)
This commit is contained in:
parent
211ef55f82
commit
a3f2d9b81e
18
patches/server/Fix-MC-252439.patch
Normal file
18
patches/server/Fix-MC-252439.patch
Normal file
@ -0,0 +1,18 @@
|
||||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Noah van der Aa <ndvdaa@gmail.com>
|
||||
Date: Wed, 15 Jun 2022 22:34:07 +0200
|
||||
Subject: [PATCH] Fix MC-252439
|
||||
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/world/entity/monster/ZombieVillager.java b/src/main/java/net/minecraft/world/entity/monster/ZombieVillager.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/net/minecraft/world/entity/monster/ZombieVillager.java
|
||||
+++ b/src/main/java/net/minecraft/world/entity/monster/ZombieVillager.java
|
||||
@@ -0,0 +0,0 @@ public class ZombieVillager extends Zombie implements VillagerDataHolder {
|
||||
|
||||
entityvillager.setVillagerXp(this.villagerXp);
|
||||
entityvillager.finalizeSpawn(world, world.getCurrentDifficultyAt(entityvillager.blockPosition()), MobSpawnType.CONVERSION, (SpawnGroupData) null, (CompoundTag) null);
|
||||
+ entityvillager.refreshBrain(world); // Paper - Fix MC-252439
|
||||
if (this.conversionStarter != null) {
|
||||
Player entityhuman = world.getPlayerByUUID(this.conversionStarter);
|
||||
|
Loading…
Reference in New Issue
Block a user