PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
9.75k stars 2.28k forks source link

Trial Spawner keeps flashing after cooldown ends #11039

Closed huguyt closed 2 weeks ago

huguyt commented 3 months ago

Expected behavior

Trial Spawner should be in active state if there are players nearby after cooldown ends, and in waiting_for_players state if there are no players to trigger it.

Observed/Actual behavior

Trial Spawner keeps switching state between waiting_for_players and inactive.

https://github.com/PaperMC/Paper/assets/147026380/2c8c035b-9f59-477f-9414-622251ad1478

Steps/models to reproduce

Using two accounts?I'm not sure if this is necessary. Use one account to set up creative mode, place a Trial Spawner, and use a spawn egg to change the spawn type. Use a second account to set up survival mode and be within range of the Trial Spawner. The first account clears all Trial Spawner creatures and waits 30 minutes.(Trial Spawner Cooldown) Then the Trial Spawner will keep flashing.

Plugin and Datapack List

plugins [16:38:47 INFO]: Server Plugins (0): datapack list [16:38:59 INFO]: There are 3 data pack(s) enabled: [vanilla (built-in)], [file/bukkit (world)], [paper (built-in)] [16:38:59 INFO]: There are no more data packs available

Paper version

version [16:38:31 INFO]: This server is running Paper version 1.21-47-master@62ed302 (2024-07-07T17:34:15Z) (Implementing API version 1.21-R0.1-SNAPSHOT) You are running the latest version

Other

No response

huguyt commented 3 months ago

I have found this bug in single player mode and have reported it to Mojang. MC-274268