sarhatabaot / ChunkSpawnerLimiter

Simple plugin to enforce spawner limits per chunk.
https://www.spigotmc.org/resources/chunk-spawner-limiter-1-13-1-18-1.66281/
MIT License
7 stars 3 forks source link

Can't read players locale, you will be unable to automatically detect players language. Only Bukkit 1.7+ is supported for this #11

Closed makegodhere closed 9 months ago

makegodhere commented 1 year ago
[08:13:46 INFO]: [CSL] [ACF] Can't read players locale, you will be unable to automatically detect players language. Only Bukkit 1.7+ is supported for this.
[08:13:46 INFO]: [CSL] [ACF] java.lang.NoSuchFieldException: locale
[08:13:46 INFO]: [CSL] [ACF]    at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
[08:13:46 INFO]: [CSL] [ACF]    at ChunkSpawnerLimiter-4.3.2.jar//com.cyprias.chunkspawnerlimiter.acf.BukkitCommandManager.readPlayerLocale(BukkitCommandManager.java:324)
[08:13:46 INFO]: [CSL] [ACF]    at ChunkSpawnerLimiter-4.3.2.jar//com.cyprias.chunkspawnerlimiter.acf.ACFBukkitListener.onPlayerJoin(ACFBukkitListener.java:57)
[08:13:46 INFO]: [CSL] [ACF]    at com.destroystokyo.paper.event.executor.MethodHandleEventExecutor.execute(MethodHandleEventExecutor.java:40)
[08:13:46 INFO]: [CSL] [ACF]    at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81)
[08:13:46 INFO]: [CSL] [ACF]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[08:13:46 INFO]: [CSL] [ACF]    at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
[08:13:46 INFO]: [CSL] [ACF]    at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126)
[08:13:46 INFO]: [CSL] [ACF]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.server.players.PlayerList.a(PlayerList.java:325)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.server.network.ServerConfigurationPacketListenerImpl.a(ServerConfigurationPacketListenerImpl.java:130)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.a(ServerboundFinishConfigurationPacket.java:18)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.network.protocol.configuration.ServerboundFinishConfigurationPacket.a(ServerboundFinishConfigurationPacket.java:9)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$0(PlayerConnectionUtils.java:53)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.server.TickTask.run(TickTask.java:18)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.util.thread.IAsyncTaskHandler.d(IAsyncTaskHandler.java:153)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(IAsyncTaskHandlerReentrant.java:24)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1324)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:193)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.util.thread.IAsyncTaskHandler.x(IAsyncTaskHandler.java:126)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1301)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1294)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.util.thread.IAsyncTaskHandler.c(IAsyncTaskHandler.java:136)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.server.MinecraftServer.u_(MinecraftServer.java:1272)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1160)
[08:13:46 INFO]: [CSL] [ACF]    at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:315)
[08:13:46 INFO]: [CSL] [ACF]    at java.base/java.lang.Thread.run(Thread.java:833)

Versions: 1.20.2 + 4.3.2

Maybe need to update ACF version in plugin?

sarhatabaot commented 9 months ago

Fixed via 4.3.3