Daniel12321 / AdventureMMO

MIT License
11 stars 11 forks source link

I'm thinking this is something that matters #48

Open aWitch-Doctor opened 7 years ago

aWitch-Doctor commented 7 years ago

Trying all the plugins i use to see if i can update to sponge vanilla api 6. this seems to be the only one that is stopping me. I get the log below every time i start the server and i also get a message saying "Failed to save player data for Witch_Doctor" if i log off after i get that message then the server crashes. The error when it crashes is at the bottom. This issue ties in with https://github.com/Daniel12321/AdventureMMO/issues/40 i think

[22:48:34 INFO] [AdventureMMO]: Registering custom data...
[22:48:34 WARN] [Sponge]: Detected $1 being registered with the old way! Please notify the developer
> /****************************************************************/
/*                   Legacy Data Registration                   */
/****************************************************************/
/* Sponge's Custom Data Registration is changing! Plugin developers are strongly */
/* advised to update their data registrations!However, because of this, Sponge is */
/* automatically applying an upgrade policy for their old registrations that will */
/* persistuntil an unknown future time. Likely for the next few Minecraft versions. */
/****************************************************************/
/* Plugin registering custom data: adventuremmo                 */
/* Custom Data Class: MMOData                                   */
/* Generated id to use for registration: m_m_o                  */
/* This generated id is what the developer should use provided  */
/* their plugin id has not changed.                             */
/* Generated Manipulator Id: adventuremmo:m_m_o                 */
/* The generated Id is already registered with Sponge, and is likely advisable for */
/* the plugin developer to utilizethe id for future registrations. */
/****************************************************************/
[22:48:34 ERROR] [Sponge]: Could not pass GamePreInitializationEvent$Impl to Plugin{id=adventuremmo, name=AdventureMMO, version=2.0.7, description=A light-weight plugin that adds skills with all sorts of fun game mechanics to your server., authors=[Daniel12321], source=mods\AdventureMMO-v2.0.7-API6.x.jar}
java.lang.NullPointerException: Data name is null!
        at com.google.common.base.Preconditions.checkNotNull(Preconditions.java:229) ~[minecraft_server.1.11.2.jar:?]
        at org.spongepowered.common.data.SpongeDataRegistration.<init>(SpongeDataRegistration.java:53) ~[SpongeDataRegistration.class:1.11.2-6.1.0-BETA-11]
        at org.spongepowered.common.data.SpongeDataRegistrationBuilder.buildAndRegister(SpongeDataRegistrationBuilder.java:158) ~[SpongeDataRegistrationBuilder.class:1.11.2-6.1.0-BETA-11]
        at org.spongepowered.common.data.SpongeDataManager.register(SpongeDataManager.java:268) ~[SpongeDataManager.class:1.11.2-6.1.0-BETA-11]
        at me.mrdaniel.adventuremmo.AdventureMMO.onPreInit(AdventureMMO.java:111) ~[AdventureMMO.class:?]
        at org.spongepowered.common.event.listener.GamePreInitializationEventListener_AdventureMMO_onPreInit48.handle(Unknown Source) ~[?:?]
        at org.spongepowered.common.event.RegisteredListener.handle(RegisteredListener.java:95) ~[RegisteredListener.class:1.11.2-6.1.0-BETA-11]
        at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:349) [SpongeEventManager.class:1.11.2-6.1.0-BETA-11]
        at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:366) [SpongeEventManager.class:1.11.2-6.1.0-BETA-11]
        at org.spongepowered.common.event.SpongeEventManager.post(SpongeEventManager.java:370) [SpongeEventManager.class:1.11.2-6.1.0-BETA-11]
        at org.spongepowered.common.SpongeImpl.postState(SpongeImpl.java:198) [SpongeImpl.class:1.11.2-6.1.0-BETA-11]
        at org.spongepowered.server.SpongeVanilla.preInitialize(SpongeVanilla.java:120) [SpongeVanilla.class:1.11.2-6.1.0-BETA-11]
        at net.minecraft.server.dedicated.DedicatedServer.handler$onServerLoad$zob000(SourceFile:1225) [lh.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71197_b(SourceFile:112) [lh.class:?]
        at net.minecraft.server.MinecraftServer.run(SourceFile:436) [MinecraftServer.class:?]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
[22:50:26 INFO]: Witch_Doctor left the game
[22:50:26 ERROR]: Encountered an unexpected exception
org.spongepowered.api.data.DataRegistrationNotFoundException: Could not locate a DataRegistration for class class me.mrdaniel.adventuremmo.data.manipulators.MMOData
        at org.spongepowered.common.data.SpongeManipulatorRegistry.getRegistrationFor(SpongeManipulatorRegistry.java:149) ~[SpongeManipulatorRegistry.class:1.11.2-6.1.0-BETA-11]
        at org.spongepowered.common.data.util.DataUtil.getRegistrationFor(DataUtil.java:429) ~[DataUtil.class:1.11.2-6.1.0-BETA-11]
        at org.spongepowered.common.data.util.DataUtil.getSerializedManipulatorList(DataUtil.java:132) ~[DataUtil.class:1.11.2-6.1.0-BETA-11]
        at org.spongepowered.common.data.nbt.CustomDataNbtUtil.writeCustomData(CustomDataNbtUtil.java:264) ~[CustomDataNbtUtil.class:1.11.2-6.1.0-BETA-11]
        at net.minecraft.entity.Entity.writeToNbt(SourceFile:4997) ~[sn.class:?]
        at net.minecraft.entity.EntityLivingBase.writeToNbt(SourceFile:2547) ~[sw.class:?]
        at net.minecraft.entity.Entity.handler$onWriteToNBT$zci000(SourceFile:4946) ~[sn.class:?]
        at net.minecraft.entity.Entity.func_189511_e(SourceFile) ~[sn.class:?]
        at net.minecraft.server.management.PlayerList.handler$onPlayerLogOut$zhg000(SourceFile:1764) ~[mt.class:?]
        at net.minecraft.server.management.PlayerList.func_72367_e(SourceFile) ~[mt.class:?]
        at net.minecraft.network.NetHandlerPlayServer.func_147231_a(SourceFile:735) ~[mi.class:?]
        at net.minecraft.network.NetworkManager.func_179293_l(SourceFile:382) ~[er.class:?]
        at net.minecraft.network.NetworkSystem.func_151269_c(SourceFile:215) ~[mh.class:?]
        at net.minecraft.server.MinecraftServer.func_71190_q(SourceFile:1603) ~[MinecraftServer.class:?]
        at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(SourceFile:335) ~[lh.class:?]
        at net.minecraft.server.MinecraftServer.func_71217_p(SourceFile:562) ~[MinecraftServer.class:?]
        at net.minecraft.server.MinecraftServer.run(SourceFile:466) [MinecraftServer.class:?]
        at java.lang.Thread.run(Unknown Source) [?:1.8.0_131]
[22:50:26 ERROR]: This crash report has been saved to: C:\Minecraft Servers\1.11 Test\.\crash-reports\crash-2017-06-27_22.50.26-server.txt
[22:50:26 INFO]: Stopping server