IzzelAliz / Arclight

A Bukkit(1.19/1.20) server implementation in modding environment using Mixin. ⚡
GNU General Public License v3.0
1.6k stars 240 forks source link

1.20.1在使用PixelPlayerWorld创建世界时出错 #1039

Open BasinM opened 1 year ago

BasinM commented 1 year ago

I have confirmed that ...

Arclight version

arclight-forge-1.20.1-1.0.0-SNAPSHOT

OS & Java versions

Windows server 2022,jdk17

Plugins and Mods

PixelPlayerWorld

Description

22:25:19 WARN] [PixelPlayerWorld]: Task #552 for PixelPlayerWorld v3.1.0-beta generated an exception java.lang.IllegalAccessError: class org.bukkit.craftbukkit.v1_20_R1.CraftServer tried to access method 'void net.minecraft.server.dedicated.DedicatedServerProperties$WorldDimensionData.(com.google.gson.JsonObject, java.lang.String)' (org.bukkit.craftbukkit.v1_20_R1.CraftServer is in module arclight@1.20.1-1.0.0-SNAPSHOT-1eb0af5 of loader 'TRANSFORMER' @1b24ea2a; net.minecraft.server.dedicated.DedicatedServerProperties$WorldDimensionData is in module minecraft@1.20.1 of loader 'TRANSFORMER' @1b24ea2a) at org.bukkit.craftbukkit.v1_20_R1.CraftServer.createWorld(CraftServerMixin.java:1119) ~[arclight-1.20.1-1.0.0-SNAPSHOT-1eb0af5.jar%23193!/:arclight-1.20.1-1.0.0-SNAPSHOT-1eb0af5] at org.bukkit.Bukkit.createWorld(Bukkit.java:703) ~[arclight-1.20.1-1.0.0-SNAPSHOT-1eb0af5.jar%23193!/:arclight-1.20.1-1.0.0-SNAPSHOT-1eb0af5] at com.xbaimiao.template.world.World$createLocalNormalWorld$1$1$1.invoke(World.kt:133) ~[?:?] at com.xbaimiao.template.world.World$createLocalNormalWorld$1$1$1.invoke(World.kt:127) ~[?:?] at com.xbaimiao.template.shadow.easylib.module.utils.BukkitKt$submit$runnable$2$2.run(Bukkit.kt:45) ~[?:?] at com.xbaimiao.template.shadow.easylib.task.EasyLibBukkitTask$bukkitRunnable$1.run(EasyLibBukkitTask.kt:16) ~[?:?] at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftTask.run(CraftTask.java:82) ~[arclight-1.20.1-1.0.0-SNAPSHOT-1eb0af5.jar%23193!/:arclight-1.20.1-1.0.0-SNAPSHOT-1eb0af5] at org.bukkit.craftbukkit.v1_20_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftSchedulerMixin.java:415) ~[arclight-1.20.1-1.0.0-SNAPSHOT-1eb0af5.jar%23193!/:arclight-1.20.1-1.0.0-SNAPSHOT-1eb0af5] at net.minecraft.server.MinecraftServer.handler$zei000$arclight$runScheduler(MinecraftServerMixin.java:2309) ~[server-1.20.1-20230612.114412-srg.jar%23225!/:?] at net.minecraft.server.MinecraftServer.m5703(MinecraftServerMixin.java) ~[server-1.20.1-20230612.114412-srg.jar%23225!/:?] at net.minecraft.server.dedicated.DedicatedServer.m5703(DedicatedServerMixin.java:273) ~[server-1.20.1-20230612.114412-srg.jar%23225!/:?] at net.minecraft.server.MinecraftServer.m5705(MinecraftServerMixin.java:814) ~[server-1.20.1-20230612.114412-srg.jar%23225!/:?] at net.minecraft.server.MinecraftServer.m130011(MinecraftServerMixin.java:2070) ~[server-1.20.1-20230612.114412-srg.jar%23225!/:?] at net.minecraft.server.MinecraftServer.m206580(MinecraftServerMixin.java:251) ~[server-1.20.1-20230612.114412-srg.jar%23225!/:?] at java.lang.Thread.run(Thread.java:833) ~[?:?]

Step to reproduce

ppw: https://www.mcbbs.net/thread-1449338-1-1.html

创建世界

Logs

No response

Server pack link (Optional)

No response

IzzelAliz commented 1 year ago

Please test if it is fixed.

stale[bot] commented 11 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.