Winds-Studio / Leaf

Personal Performance fork, A Minecraft Server Software for Winds Network
Other
274 stars 36 forks source link

Something is wrong with the villagers AI #105

Closed HYBAS22 closed 4 weeks ago

HYBAS22 commented 4 weeks ago

Is there an existing issue for this?

What behaviour is observed?

At a random moment, the server just crashes, and the logs show about villagers..

Something like:

Server thread dump (Look for plugins here before reporting to Leaf!):
[10:47:48 ERROR]: Ticking entity: minecraft:villager, entity class: net.minecraft.world.entity.npc.Villager
[10:47:48 ERROR]: Entity status: removed: false, valid: true, alive: true, is passenger: false
[10:47:48 ERROR]: Entity UUID: 19f84491-2980-481e-b69e-9ae4a3198453
[10:47:48 ERROR]: Position: world: 'world' at location (-323.29278006283437, 44.0, -489.53663889855767)
[10:47:48 ERROR]: Velocity: (0.0, -0.0784000015258789, 0.0) (in blocks per tick)
[10:47:48 ERROR]: Entity AABB: AABB[-323.5927800747553, 44.0, -489.8366389104786] -> [-322.99278005091344, 45.950000047683716, -489.23663888663674]

Expected behaviour

Villagers should not crash the server

To Reproduce

  1. Make a server
  2. Find a village
  3. Wait...
  4. Crash!

Plugin list

Authy-3.5.2.jar carbonchat-paper-3.0.0-beta.27.jar Chunky-1.4.10.jar ChunkyBorder-1.2.13.jar Drugs-6.3.jar GSit-1.9.5.jar ImageFrame-1.7.9.0.jar InvisiblePlayerHider.jar InvSee++.jar LuckPerms-Bukkit-5.4.137.jar Maintenance-4.2.1.jar PlaceholderAPI-2.11.6.jar Plan-5.6-build-2883.jar SimpleClans.jar SkinsRestorer.jar SurvivalInvisiframes.jar TAB v4.1.6.jar Vault.jar voicechat-bukkit-2.5.16.jar

Leaf Version

1.21

Error log (if applicable)

https://gist.github.com/HYBAS22/5cad8af4f94ccb5f99468ee3b51f2612

Configuration

https://gist.github.com/HYBAS22/d8b2ae9c6aee662a858cdf931d974a7b

Dreeam-qwq commented 4 weeks ago

Update to latest Leaf 1.21.1, and you are using Linear region format, lower specification machine will get an even slower chunk loading speed. This maybe a reason causes this crash

HYBAS22 commented 4 weeks ago

I tested it on Leaves, and everything worked stably with Linear region format I'll try to update leaf to 1.21.1

HYBAS22 commented 4 weeks ago

Everything seems to be working stably, thanks for the help

HYBAS22 commented 4 weeks ago

closing