WorldEdit for Bukkit

WorldEdit for Bukkit

21M Downloads

WE does not see blocks from other mods

iseeyoudev opened this issue ยท 0 comments

commented

WorldEdit Version

Bukkit-Official(7.2.10+1742f98)

Platform Version

Magma 1.18.2-325d8877

Confirmations

  • I am using the most recent Minecraft release.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.
  • I am NOT using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am NOT using a fork of WorldEdit, such as FastAsyncWorldEdit (FAWE) or AsyncWorldEdit (AWE)

Bug Description

WE does not see blocks from other mods for example Biomes O`Plenty. Console writes this

[21:56:31] [Server thread/ERROR] [co.sk.wo.ex.pl.PlatformCommandManager/]: An unexpected error while handling a WorldEdit command
java.lang.NullPointerException: Cannot invoke "com.sk89q.worldedit.world.block.BlockState.toBaseBlock()" because "state" is null
at com.sk89q.worldedit.bukkit.adapter.impl.v1_18_R2.PaperweightAdapter.getFullBlock(PaperweightAdapter.java:349) ~[?:?] {}
at com.sk89q.worldedit.bukkit.BukkitWorld.getFullBlock(BukkitWorld.java:489) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:73) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:73) ~[?:?] {}
at com.sk89q.worldedit.extent.world.WatchdogTickingExtent.getFullBlock(WatchdogTickingExtent.java:108) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:73) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:73) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:73) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:73) ~[?:?] {}
at com.sk89q.worldedit.extent.cache.LastAccessExtentCache.getFullBlock(LastAccessExtentCache.java:66) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:73) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:73) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractBufferingExtent.getFullBlock(AbstractBufferingExtent.java:68) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:73) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractBufferingExtent.getFullBlock(AbstractBufferingExtent.java:68) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:73) ~[?:?] {}
at com.sk89q.worldedit.extent.world.WatchdogTickingExtent.getFullBlock(WatchdogTickingExtent.java:108) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.getFullBlock(AbstractDelegateExtent.java:73) ~[?:?] {}
at com.sk89q.worldedit.extent.ChangeSetExtent.setBlock(ChangeSetExtent.java:64) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:78) ~[?:?] {}
at com.sk89q.worldedit.extent.MaskingExtent.setBlock(MaskingExtent.java:69) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:78) ~[?:?] {}
at com.sk89q.worldedit.extent.validation.BlockChangeLimiter.setBlock(BlockChangeLimiter.java:87) ~[?:?] {}
at com.sk89q.worldedit.extent.AbstractDelegateExtent.setBlock(AbstractDelegateExtent.java:78) ~[?:?] {}
at com.sk89q.worldedit.extent.validation.DataValidatorExtent.setBlock(DataValidatorExtent.java:64) ~[?:?] {}
at com.sk89q.worldedit.EditSession.setBlock(EditSession.java:737) ~[?:?] {}
at com.sk89q.worldedit.EditSession.setBlock(EditSession.java:780) ~[?:?] {}
at com.sk89q.worldedit.function.block.BlockReplace.apply(BlockReplace.java:53) ~[?:?] {}
at com.sk89q.worldedit.function.visitor.RegionVisitor.resume(RegionVisitor.java:60) ~[?:?] {}
at com.sk89q.worldedit.function.operation.Operations.completeBlindly(Operations.java:74) ~[?:?] {}
at com.sk89q.worldedit.command.RegionCommands.set(RegionCommands.java:106) ~[?:?] {}
at com.sk89q.worldedit.command.RegionCommandsRegistration.cmd$set(RegionCommandsRegistration.java:408) ~[?:?] {}
at org.enginehub.piston.CommandManager.execute(CommandManager.java:157) ~[?:?] {}
at com.sk89q.worldedit.extension.platform.PlatformCommandManager.handleCommand(PlatformCommandManager.java:497) ~[?:?] {}
at com.sk89q.worldedit.util.eventbus.MethodHandleEventHandler.dispatch(MethodHandleEventHandler.java:51) ~[?:?] {}
at com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73) ~[?:?] {}
at com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java:193) ~[?:?] {}
at com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java:181) ~[?:?] {}
at com.sk89q.worldedit.bukkit.WorldEditPlugin.onCommand(WorldEditPlugin.java:383) ~[?:?] {}
at com.sk89q.bukkit.util.DynamicPluginCommand.execute(DynamicPluginCommand.java:55) ~[?:?] {}
at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:149) ~[forge-1.18.2-40.1.85-universal.jar%2370!/:?] {re:classloading,re:mixin}
at org.bukkit.craftbukkit.v1_18_R2.CraftServer.dispatchCommand(CraftServer.java:777) ~[forge-1.18.2-40.1.85-universal.jar%2370!/:7e29f765-296df566-9fb885e8] {re:classloading}
at net.minecraft.server.network.ServerGamePacketListenerImpl.m_9957
(ServerGamePacketListenerImpl.java:1648) ~[server-1.18.2-20220404.173914-srg.jar%2365!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at net.minecraft.server.network.ServerGamePacketListenerImpl.m_143628_(ServerGamePacketListenerImpl.java:1560) ~[server-1.18.2-20220404.173914-srg.jar%2365!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at net.minecraft.server.network.ServerGamePacketListenerImpl.m_7388_(ServerGamePacketListenerImpl.java:1541) ~[server-1.18.2-20220404.173914-srg.jar%2365!/:?] {re:classloading,pl:accesstransformer:B,re:mixin,pl:accesstransformer:B}
at net.minecraft.network.protocol.game.ServerboundChatPacket.m_5797_(ServerboundChatPacket.java:35) ~[server-1.18.2-20220404.173914-srg.jar%2365!/:?] {re:classloading}
at net.minecraft.network.protocol.game.ServerboundChatPacket.m_5797_(ServerboundChatPacket.java:6) ~[server-1.18.2-20220404.173914-srg.jar%2365!/:?] {re:classloading}
at net.minecraft.network.protocol.PacketUtils.m_131356_(PacketUtils.java:25) ~[server-1.18.2-20220404.173914-srg.jar%2365!/:?] {re:classloading}
at net.minecraft.server.TickTask.run(TickTask.java:18) ~[server-1.18.2-20220404.173914-srg.jar%2365!/:?] {re:classloading}
at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[server-1.18.2-20220404.173914-srg.jar%2365!/:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at net.minecraft.util.thread.ReentrantBlockableEventLoop.m_6367_(ReentrantBlockableEventLoop.java:23) ~[server-1.18.2-20220404.173914-srg.jar%2365!/:?] {re:mixin,re:computing_frames,re:classloading}
at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:929) ~[server-1.18.2-20220404.173914-srg.jar%2365!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:terrablender.mixins.json:MixinMinecraftServer,pl:mixin:A}
at net.minecraft.server.MinecraftServer.m_6367_(MinecraftServer.java:130) ~[server-1.18.2-20220404.173914-srg.jar%2365!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:terrablender.mixins.

Expected Behavior

no com

Reproduction Steps

  1. For the action of the error, any action with items from the mods is enough. I wanted to remove blocks from the mod using the //set command

Anything Else?

Sorry if I wrote something incomprehensibly, I don't know English well, I'm from Ukraine