无法载入
Closed this issue · 1 comments
Bug report
- I have checked other issues to make sure this is not a duplicate.
Describe the bug
I can't load this plugin in mohist-1.20.1
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
- install
2.none
...
Expected behavior
setuped
Actual behaviour
un setup
Additional context
Please use the
/petadmin ticket
command and attach the generatedticket.zip
from the MyPet folder to this issue.
Bukkit/Spigot/Bungee Build/Version:
**MyPet Build/Version:**v3.12
What is the expected result?
What happens instead of that?
Error:
``[09:11:31 INFO]: [MyPet] Enabling MyPet v3.12
[09:11:31 INFO]: [MyPet] No Update available.
[09:11:31 INFO]: [MyPet] Custom entity registry found: net.minecraftforge.registries.NamespacedDefaultedWrapper
[09:11:31 ERROR]: Error occurred while enabling MyPet v3.12 (Is it up to date?)
java.lang.IllegalStateException: Registry is already frozen
at net.minecraftforge.registries.NamespacedWrapper.m_245419_(NamespacedWrapper.java:272) ~[forge-1.20.1-47.2.20-universal.jar%23197!/:?]
at net.minecraftforge.registries.NamespacedWrapper.m_203693_(NamespacedWrapper.java:366) ~[forge-1.20.1-47.2.20-universal.jar%23197!/:?]
at net.minecraft.world.entity.EntityType.(EntityType.java:167) ~[server-1.20.1-20230612.114412-srg.jar%23192!/:?]
at net.minecraft.world.entity.EntityType$Builder.m_20712_(EntityType.java:795) ~[server-1.20.1-20230612.114412-srg.jar%23192!/:?]
at de.Keyle.MyPet.compat.v1_20_R1.entity.EntityRegistry.registerEntityType(EntityRegistry.java:67) ~[?:?]
at de.Keyle.MyPet.compat.v1_20_R1.entity.EntityRegistry.registerEntity(EntityRegistry.java:87) ~[?:?]
at de.Keyle.MyPet.compat.v1_20_R1.entity.EntityRegistry.registerEntityTypes(EntityRegistry.java:143) ~[?:?]
at de.Keyle.MyPet.MyPetPlugin.onEnable(MyPetPlugin.java:195) ~[?:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:347) ~[forge-1.20.1-47.2.20-universal.jar%23197!/:?]
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336) ~[forge-1.20.1-47.2.20-universal.jar%23197!/:?]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:482) ~[forge-1.20.1-47.2.20-universal.jar%23197!/:?]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugin(CraftServer.java:549) ~[forge-1.20.1-47.2.20-universal.jar%23197!/:997de31d-ddc9a2dad-d2eba2c8-47.1.79]
at org.bukkit.craftbukkit.v1_20_R1.CraftServer.enablePlugins(CraftServer.java:462) ~[forge-1.20.1-47.2.20-universal.jar%23197!/:997de31d-ddc9a2dad-d2eba2c8-47.1.79]
at net.minecraft.server.MinecraftServer.m_129815_(MinecraftServer.java:441) ~[server-1.20.1-20230612.114412-srg.jar%23192!/:?]
at net.minecraft.server.MinecraftServer.m_130006_(MinecraftServer.java:341) ~[server-1.20.1-20230612.114412-srg.jar%23192!/:?]
at net.minecraft.server.dedicated.DedicatedServer.m_7038_(DedicatedServer.java:224) ~[server-1.20.1-20230612.114412-srg.jar%23192!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:850) ~[server-1.20.1-20230612.114412-srg.jar%23192!/:?]
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:281) ~[server-1.20.1-20230612.114412-srg.jar%23192!/:?]
at java.lang.Thread.run(Unknown Source) [?:?]
[09:11:31 INFO]: [MyPet] Disabling MyPet v3.12`
PUT ERROR HERE IF NOT LONGER THAN ~10 LINES
Mohist is and will not be supported