alex9849/advanced-region-market

Cant sell regions

Closed this issue · 0 comments

So after i translated som text in the messages document. The players cant sell their regions again.
Here is the error code that pops up in the console:
[ERROR] Could not pass event InventoryClickEvent to AdvancedRegionMarket v3.5.3

org.bukkit.event.EventException: null

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:310) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]

at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]

at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:589) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]

at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:576) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]

at net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:2659) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.network.protocol.game.PacketPlayInWindowClick.a(SourceFile:58) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.network.protocol.game.PacketPlayInWindowClick.a(SourceFile:13) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.network.protocol.PlayerConnectionUtils.lambda$0(PlayerConnectionUtils.java:32) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.server.TickTask.run(SourceFile:18) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.util.thread.IAsyncTaskHandler.d(SourceFile:156) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.util.thread.IAsyncTaskHandlerReentrant.d(SourceFile:23) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.server.MinecraftServer.b(MinecraftServer.java:1133) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:1) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.util.thread.IAsyncTaskHandler.x(SourceFile:130) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.server.MinecraftServer.bg(MinecraftServer.java:1112) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1105) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.util.thread.IAsyncTaskHandler.bp(SourceFile:115) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.server.MinecraftServer.u_(MinecraftServer.java:1088) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:1000) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at net.minecraft.server.MinecraftServer.lambda$0(MinecraftServer.java:298) ~[spigot-1.20.2-R0.1-SNAPSHOT.jar:3950-Spigot-2888990-d485cde]

at java.lang.Thread.run(Thread.java:1589) ~[?:?]

Caused by: java.lang.IllegalAccessError: class com.sk89q.worldedit.bukkit.adapter.impl.v1_20_R2.PaperweightAdapter tried to access private field net.minecraft.nbt.NBTTagCompound.x (com.sk89q.worldedit.bukkit.adapter.impl.v1_20_R2.PaperweightAdapter is in unnamed module of loader org.bukkit.plugin.java.PluginClassLoader @53138af5; net.minecraft.nbt.NBTTagCompound is in unnamed module of loader java.net.URLClassLoader @1f17ae12)

at com.sk89q.worldedit.bukkit.adapter.impl.v1_20_R2.PaperweightAdapter.toNative(PaperweightAdapter.java:990) ~[?:?]

at com.sk89q.worldedit.bukkit.adapter.impl.v1_20_R2.PaperweightAdapter.lambda$getFullBlock$1(PaperweightAdapter.java:395) ~[?:?]

at com.sk89q.worldedit.util.concurrency.LazyReference.getValue(LazyReference.java:83) ~[?:?]

at com.sk89q.worldedit.world.NbtValued.getNbt(NbtValued.java:119) ~[?:?]

at com.sk89q.worldedit.function.block.ExtentBlockCopy.transformNbtData(ExtentBlockCopy.java:90) ~[?:?]

at com.sk89q.worldedit.function.block.ExtentBlockCopy.apply(ExtentBlockCopy.java:77) ~[?:?]

at com.sk89q.worldedit.function.RegionMaskingFilter.apply(RegionMaskingFilter.java:53) ~[?:?]

at com.sk89q.worldedit.function.visitor.RegionVisitor.resume(RegionVisitor.java:60) ~[?:?]

at com.sk89q.worldedit.function.operation.OperationQueue.resume(OperationQueue.java:91) ~[?:?]

at com.sk89q.worldedit.function.operation.DelegateOperation.resume(DelegateOperation.java:52) ~[?:?]

at com.sk89q.worldedit.function.operation.Operations.completeLegacy(Operations.java:55) ~[?:?]

at net.alex9849.arm.adapters.WorldEdit7.createSchematic(WorldEdit7.java:57) ~[?:?]

at net.alex9849.arm.regions.Region.createBackup(Region.java:932) ~[?:?]

at net.alex9849.arm.regions.Region.unsell(Region.java:1126) ~[?:?]

at net.alex9849.arm.regions.CountdownRegion.unsell(CountdownRegion.java:66) ~[?:?]

at net.alex9849.arm.regions.Region.automaticResetRegion(Region.java:1095) ~[?:?]

at net.alex9849.arm.regions.Region.userSell(Region.java:1074) ~[?:?]

at net.alex9849.arm.gui.Gui.lambda$openSellWarning$63(Gui.java:782) ~[?:?]

at net.alex9849.arm.gui.Gui.onClick(Gui.java:980) ~[?:?]

at jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) ~[?:?]

at java.lang.reflect.Method.invoke(Method.java:578) ~[?:?]

at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-api-1.20.2-R0.1-SNAPSHOT.jar:?]

... 20 more