Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't read players locale #75

Open
LinusLeonard opened this issue Dec 3, 2023 · 1 comment
Open

Can't read players locale #75

LinusLeonard opened this issue Dec 3, 2023 · 1 comment

Comments

@LinusLeonard
Copy link

Getting this in my 1.20.2 Paper server using 1.5.0-pre2 when a user logged in. Doesn't seem to happen for all users though.

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

@EtienneDx
Copy link
Owner

I'd guess that's linked to some new behavior for servers with translations, can't say for sure though :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants