Update Events.java
This commit is contained in:
parent
55fe715f3b
commit
359bc708b4
@ -24,7 +24,7 @@ public class Events implements Listener {
|
||||
Location location = baby.getLocation();
|
||||
Chunk chunk = location.getChunk();
|
||||
ArrayList<Villager> villagers = new ArrayList<>();
|
||||
// 遍历周围的区块
|
||||
// 遍历周围的区块
|
||||
for (int x = -4; x <= 4; x++) {
|
||||
for (int z = -4; z <= 4; z++) {
|
||||
Chunk chunk1 = chunk.getWorld().getChunkAt(chunk.getX() + x, chunk.getZ() + z);
|
||||
|
Loading…
Reference in New Issue
Block a user