mirror of
https://github.com/barkeser2002/CatServer.git
synced 2026-09-25 01:39:52 +03:00
11 lines
410 B
Diff
11 lines
410 B
Diff
--- ../src-base/minecraft/net/minecraft/village/VillageCollection.java
|
|
+++ ../src-work/minecraft/net/minecraft/village/VillageCollection.java
|
|
@@ -151,6 +151,7 @@
|
|
|
|
private void addDoorsAround(BlockPos central)
|
|
{
|
|
+ if (!this.world.isAreaLoaded(central, 16)) return; // Forge: prevent loading unloaded chunks when checking for doors
|
|
int i = 16;
|
|
int j = 4;
|
|
int k = 16;
|