WorldEdit

WorldEdit

43M Downloads

Error with /setbiome

LadyCailinBot opened this issue · 7 comments

commented

WORLDEDIT-3670 - Reported by ronangamero

Ingame, this is what was shown in chat: java.lang.reflect.InvocationTargetException:null
This error was shown in console:
SEVERE: [WorldEdit] An unexpected error while handling a WorldEdit command
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sk89q.worldedit.util.command.parametric.BindingHelper.bind(BindingHelper.java:167)
at com.sk89q.worldedit.util.command.parametric.ParametricCallable.call(ParametricCallable.java:205)
at com.sk89q.worldedit.util.command.SimpleDispatcher.call(SimpleDispatcher.java:125)
at com.sk89q.worldedit.extension.platform.CommandManager.handleCommand(CommandManager.java:248)
at sun.reflect.GeneratedMethodAccessor31.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sk89q.worldedit.util.eventbus.MethodEventHandler.dispatch(MethodEventHandler.java:58)
at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73)
at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:187)
at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:173)
at com.sk89q.worldedit.forge.ForgeWorldEdit.onCommandEvent(ForgeWorldEdit.java:147)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_95_ForgeWorldEdit_onCommandEvent_CommandEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:662)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:597)
at org.spongepowered.mod.command.ForgeMinecraftCommandWrapper.throwEvent(ForgeMinecraftCommandWrapper.java:49)
at org.spongepowered.common.command.MinecraftCommandWrapper.process(MinecraftCommandWrapper.java:117)
at org.spongepowered.api.command.dispatcher.SimpleDispatcher.process(SimpleDispatcher.java:341)
at org.spongepowered.common.command.SpongeCommandManager.process(SpongeCommandManager.java:328)
at net.minecraft.command.ServerCommandManager.func_71556_a(SourceFile:1083)
at net.minecraft.network.NetHandlerPlayServer.func_147361_d(NetHandlerPlayServer.java:958)
at net.minecraft.network.NetHandlerPlayServer.func_147354_a(NetHandlerPlayServer.java:937)
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:37)
at net.minecraft.network.play.client.CPacketChatMessage.func_148833_a(SourceFile:9)
at org.spongepowered.common.network.PacketUtil.onProcessPacket(PacketUtil.java:148)
at net.minecraft.network.PacketThreadUtil$1.redirect$onProcessPacket$zla000(SourceFile:539)
at net.minecraft.network.PacketThreadUtil$1.run(SourceFile:13)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at net.minecraft.util.Util.func_181617_a(SourceFile:46)
at org.spongepowered.common.SpongeImplHooks.onUtilRunTask(SpongeImplHooks.java:288)
at net.minecraft.server.MinecraftServer.redirect$onRun$zjf000(MinecraftServer.java:3987)
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:723)
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:396)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.NoSuchMethodError: net.minecraft.world.biome.Biome.func_185359_l()Ljava/lang/String;
at com.sk89q.worldedit.forge.ForgeBiomeRegistry$ForgeBiomeData.getName(ForgeBiomeRegistry.java:71)
at com.sk89q.worldedit.world.biome.BiomeName.apply(BiomeName.java:51)
at com.sk89q.worldedit.world.biome.BiomeName.apply(BiomeName.java:32)
at com.google.common.base.Functions$FunctionComposition.apply(Functions.java:240)
at com.sk89q.worldedit.util.WeightedChoice.consider(WeightedChoice.java:62)
at com.sk89q.worldedit.world.biome.Biomes.findBiomeByName(Biomes.java:60)
at com.sk89q.worldedit.internal.command.WorldEditBinding.getBiomeType(WorldEditBinding.java:322)
... 42 more

commented

Comment by ronangamero

Commands doesn't work properly, like regen, and others, idr, we used that when we were on MC 1.11. I looked and couldn't find a version for MC 1.12.

commented

Comment by me4502

Yeah regen isn’t supported with Sponge, that’s the only difference though.

commented

Comment by me4502

Is there a reason you're using Forge WorldEdit on Sponge?

commented

Comment by ronangamero

This is Sponge Forge, it's a modded server.

commented

Comment by me4502

I'm aware, yes. It's moreso that WorldEdit-Forge and SpongeForge are built for different Forge versions. And there's a version of WorldEdit for Sponge.

commented

Comment by ronangamero

uhn I'll check the versions. World Edit Sponge is worse... so I'll stick with Forge version.

commented

Comment by me4502

In what way is the sponge version worse?