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

/kit doesnt work #50

Open
Lajtmen opened this issue Jan 2, 2022 · 0 comments
Open

/kit doesnt work #50

Lajtmen opened this issue Jan 2, 2022 · 0 comments

Comments

@Lajtmen
Copy link

Lajtmen commented Jan 2, 2022

after typing this the error shows up. it only happens on my current world. if i make a new one its fine.

[05:53:40] [Server thread/ERROR] [Sponge]: Error occurred while executing command 'kitcreate survival 300' for source EntityPlayerMP['Lajtmen'/846, l='survival', x=-129.24, y=65.00, z=236.79]: Could not deserialize something correctly, likely due to bad type data.
org.spongepowered.api.data.persistence.InvalidDataException: Could not deserialize something correctly, likely due to bad type data.
at org.spongepowered.api.data.persistence.AbstractDataBuilder.build(AbstractDataBuilder.java:89) ~[AbstractDataBuilder.class:1.12.2-2838-7.3.0]
at org.spongepowered.common.data.SpongeDataManager.lambda$deserialize$0(SpongeDataManager.java:188) ~[SpongeDataManager.class:1.12.2-2838-7.3.0]
at java.util.Optional.flatMap(Optional.java:241) ~[?:1.8.0_312]
at org.spongepowered.common.data.SpongeDataManager.deserialize(SpongeDataManager.java:188) ~[SpongeDataManager.class:1.12.2-2838-7.3.0]
at org.spongepowered.common.config.DataSerializableTypeSerializer.deserialize(DataSerializableTypeSerializer.java:66) ~[DataSerializableTypeSerializer.class:1.12.2-2838-7.3.0]
at org.spongepowered.common.config.DataSerializableTypeSerializer.deserialize(DataSerializableTypeSerializer.java:45) ~[DataSerializableTypeSerializer.class:1.12.2-2838-7.3.0]
at ninja.leaping.configurate.objectmapping.serialize.AbstractListChildSerializer.deserialize(AbstractListChildSerializer.java:43) ~[spongeforge-1.12.2-2838-7.3.0.jar:1.12.2-2838-7.3.0]
at ninja.leaping.configurate.objectmapping.ObjectMapper$FieldData.deserializeFrom(ObjectMapper.java:140) ~[spongeforge-1.12.2-2838-7.3.0.jar:1.12.2-2838-7.3.0]
at ninja.leaping.configurate.objectmapping.ObjectMapper$BoundInstance.populate(ObjectMapper.java:201) ~[spongeforge-1.12.2-2838-7.3.0.jar:1.12.2-2838-7.3.0]
at ninja.leaping.configurate.objectmapping.serialize.AnnotatedObjectSerializer.deserialize(AnnotatedObjectSerializer.java:34) ~[spongeforge-1.12.2-2838-7.3.0.jar:1.12.2-2838-7.3.0]
at ninja.leaping.configurate.SimpleConfigurationNode.getValue(SimpleConfigurationNode.java:232) ~[spongeforge-1.12.2-2838-7.3.0.jar:1.12.2-2838-7.3.0]
at ninja.leaping.configurate.ConfigurationNode.getValue(ConfigurationNode.java:595) ~[spongeforge-1.12.2-2838-7.3.0.jar:1.12.2-2838-7.3.0]
at bammerbom.ultimatecore.sponge.modules.kit.api.KitKeys$1.load(KitKeys.java:52) ~[KitKeys$1.class:?]
at bammerbom.ultimatecore.sponge.modules.kit.api.KitKeys$1.load(KitKeys.java:45) ~[KitKeys$1.class:?]
at bammerbom.ultimatecore.sponge.api.data.GlobalData.get(GlobalData.java:52) ~[GlobalData.class:?]
at bammerbom.ultimatecore.sponge.modules.kit.commands.CreatekitCommand.execute(CreatekitCommand.java:96) ~[CreatekitCommand.class:?]
at bammerbom.ultimatecore.sponge.api.command.impl.ExecutorListenerWrapper.execute(ExecutorListenerWrapper.java:54) ~[ExecutorListenerWrapper.class:?]
at org.spongepowered.api.command.spec.CommandSpec.process(CommandSpec.java:388) ~[CommandSpec.class:1.12.2-2838-7.3.0]
at org.spongepowered.common.command.SpongeCommandDispatcher.process(SpongeCommandDispatcher.java:355) ~[SpongeCommandDispatcher.class:1.12.2-2838-7.3.0]
at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:360) [SpongeCommandManager.class:1.12.2-2838-7.3.0]
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:665) [dh.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:962) [pa.class:?]
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:941) [pa.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37) [la.class:?]
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9) [la.class:?]
at org.spongepowered.common.event.tracking.phase.packet.PacketPhaseUtil.onProcessPacket(PacketPhaseUtil.java:219) [PacketPhaseUtil.class:1.12.2-2838-7.3.0]
at net.minecraft.network.PacketThreadUtil$1.redirect$zle000$impl$redirectToPhaseTracker(SourceFile:540) [hv$1.class:?]
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13) [hv$1.class:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_312]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_312]
at net.minecraft.util.Util.func_181617_a(SourceFile:46) [h.class:?]
at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:310) [SpongeImplHooks.class:1.12.2-2838-7.3.0]
at net.minecraft.server.MinecraftServer.redirect$zji000$onRun(MinecraftServer.java:4682) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723) [MinecraftServer.class:?]
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:397) [nz.class:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668) [MinecraftServer.class:?]
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526) [MinecraftServer.class:?]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_312]
Caused by: java.util.NoSuchElementException: No value present
at java.util.Optional.get(Optional.java:135) ~[?:1.8.0_312]
at org.spongepowered.common.data.builder.item.SpongeItemStackSnapshotBuilder.buildContent(SpongeItemStackSnapshotBuilder.java:61) ~[SpongeItemStackSnapshotBuilder.class:1.12.2-2838-7.3.0]
at org.spongepowered.api.data.persistence.AbstractDataBuilder.build(AbstractDataBuilder.java:87) ~[AbstractDataBuilder.class:1.12.2-2838-7.3.0]
... 37 more

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

No branches or pull requests

1 participant