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

Issue with the languages... #2117

Closed
Treshyyy opened this issue Jun 7, 2023 · 3 comments
Closed

Issue with the languages... #2117

Treshyyy opened this issue Jun 7, 2023 · 3 comments
Labels

Comments

@Treshyyy
Copy link

Treshyyy commented Jun 7, 2023

What is your Quests version / build number (do not say "latest")?

4.8.2

Describe the problem and how to replicate it.

Hello I kinda have a problem. I use this plugin in Hungarian language and it seems pretty cool, but I found some bug.

The problem is that when I click on the 'Nem (It means no)' it's working but when I click on the 'igen (it means yes)' This error pops up. I would really like this issue to be solved.
Image

image

Any console errors to share?

No error

If applicable, can you provide an example quest from quests.yml?

For exemple: I want to accept the quest
@Treshyyy Treshyyy added the bug label Jun 7, 2023
@Treshyyy
Copy link
Author

Treshyyy commented Jun 7, 2023

Nevermind! Close this thread. The problem was that I changed the language, but language-override-client was on false and my game language was on English so it was kinda buggy!

@Treshyyy Treshyyy closed this as completed Jun 7, 2023
@Treshyyy Treshyyy reopened this Jun 7, 2023
@Treshyyy
Copy link
Author

Treshyyy commented Jun 7, 2023

Oh wait I found another problem! I set the language to en-US by default but I want to translate messages by the client language, but it just mixes everything

Error in console:
[18:55:29 ERROR]: Unexpected exception while abandoning a conversation java.lang.IllegalAccessError: failed to access class me.blackvein.quests.util.Lang$LangToken from class me.blackvein.quests.util.Lang (me.blackvein.quests.util.Lang$LangToken is in unnamed module of loader 'Quests-4.8.2.jar' @3265afd7; me.blackvein.quests.util.Lang is in unnamed module of loader 'Quests-4.8.2.jar' @6c636b1e) at me.blackvein.quests.util.Lang.get(Lang.java:106) ~[Quests-4.8.2.jar:?] at me.blackvein.quests.listeners.ConvoListener.conversationAbandoned(ConvoListener.java:17) ~[Quests-4.8.2.jar:?] at org.bukkit.conversations.Conversation.abandon(Conversation.java:277) ~[purpur-api-1.19.3-R0.1-SNAPSHOT.jar:?] at org.bukkit.craftbukkit.v1_19_R2.conversations.ConversationTracker.abandonAllConversations(ConversationTracker.java:48) ~[purpur-1.19.3.jar:git-Purpur-1906] at org.bukkit.craftbukkit.v1_19_R2.entity.CraftPlayer.disconnect(CraftPlayer.java:2157) ~[purpur-1.19.3.jar:git-Purpur-1906] at net.minecraft.server.players.PlayerList.remove(PlayerList.java:582) ~[purpur-1.19.3.jar:git-Purpur-1906] at net.minecraft.server.players.PlayerList.remove(PlayerList.java:564) ~[purpur-1.19.3.jar:git-Purpur-1906] at net.minecraft.server.network.ServerGamePacketListenerImpl.onDisconnect(ServerGamePacketListenerImpl.java:2210) ~[?:?] at net.minecraft.server.network.ServerGamePacketListenerImpl.onDisconnect(ServerGamePacketListenerImpl.java:2189) ~[?:?] at net.minecraft.network.Connection.handleDisconnection(Connection.java:786) ~[?:?] at net.minecraft.server.network.ServerConnectionListener.tick(ServerConnectionListener.java:253) ~[?:?] at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1594) ~[purpur-1.19.3.jar:git-Purpur-1906] at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:482) ~[purpur-1.19.3.jar:git-Purpur-1906] at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1424) ~[purpur-1.19.3.jar:git-Purpur-1906] at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1194) ~[purpur-1.19.3.jar:git-Purpur-1906] at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:321) ~[purpur-1.19.3.jar:git-Purpur-1906] at java.lang.Thread.run(Thread.java:833) ~[?:?]

@PikaMug PikaMug closed this as completed in af1469a Jun 7, 2023
@PikaMug
Copy link
Owner

PikaMug commented Jun 7, 2023

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

No branches or pull requests

2 participants