WorldEdit

WorldEdit

43M Downloads

forest brush errors

SilverSeed93 opened this issue ยท 1 comments

commented

WorldEdit Version

7.2.7-SNAPSHOT+5920-1173385

Platform Version

Paper version git-Paper-228 (MC: 1.17.1) (Implementing API version 1.17.1-R0.1-SNAPSHOT) (Git: ba17733)

Confirmations

  • I am using the most recent Minecraft release.
  • I am not using a hybrid server, e.g. a server that combines Bukkit and Forge. Examples include Arclight, Mohist, and Cardboard.
  • I am using a version of WorldEdit compatible with my Minecraft version.
  • I am using the latest or recommended version of my platform software.

Bug Description

Attempting to use forest brush.

Command:
[15:12:51 INFO]: PLAYER124 issued server command: /brush forest cuboid birch

Expected Behavior

Should make trees.

Reproduction Steps

  1. Use forest brush.

Anything Else?

[15:12:51 INFO]: PLAYER124 issued server command: /brush forest cuboid birch
[15:12:58 INFO]: [AsyncWorldEdit] -----------------------------------------------------------------------
[15:12:58 INFO]: [AsyncWorldEdit] Warning: Class scanner encountered an error while scanning class
[15:12:58 INFO]: [AsyncWorldEdit] Errors:
[15:12:58 INFO]: [AsyncWorldEdit] - Unpack field 'ordinal': java.lang.reflect.InaccessibleObjectException, Unable to make field private final int java.lang.Enum.ordinal accessible: module java.base does not "opens java.lang" to unnamed module @3b96593f
[15:12:58 INFO]: [AsyncWorldEdit] - Unpack field 'name': java.lang.reflect.InaccessibleObjectException, Unable to make field private final java.lang.String java.lang.Enum.name accessible: module java.base does not "opens java.lang" to unnamed module @3b96593f
[15:12:58 INFO]: [AsyncWorldEdit] Class: class com.sk89q.worldedit.util.TreeGenerator$TreeType
[15:12:58 INFO]: [AsyncWorldEdit] Object: BIRCH
[15:12:58 INFO]: [AsyncWorldEdit] Send this message to the author of the plugin!
[15:12:58 INFO]: [AsyncWorldEdit] https://github.com/SBPrime/AsyncWorldEdit/issues
[15:12:58 INFO]: [AsyncWorldEdit] -----------------------------------------------------------------------
[15:12:58 INFO]: [AsyncWorldEdit] ***********************************
[15:12:58 INFO]: [AsyncWorldEdit] edit session: security exception.
[15:12:58 INFO]: [AsyncWorldEdit] ***********************************
[15:12:58 INFO]: [AsyncWorldEdit] *
[15:12:58 INFO]: [AsyncWorldEdit] * Exception: java.lang.IllegalAccessException
[15:12:58 INFO]: [AsyncWorldEdit] * Error message: Field 'editSession' is FINAL. Set not supported on this platform.
[15:12:58 INFO]: [AsyncWorldEdit] * Stack:
[15:12:58 INFO]: [AsyncWorldEdit] * AsyncWorldEdit-3.9.1.jar//org.primesoft.asyncworldedit.utils.Reflection.safeSet(Reflection.java:347)
[15:12:58 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.asyncinjector.async.AsyncOperationProcessor.injectEditSession(AsyncOperationProcessor.java:328)
[15:12:58 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.asyncinjector.async.AsyncOperationProcessor.process(AsyncOperationProcessor.java:156)
[15:12:58 INFO]: [AsyncWorldEdit] * AsyncWorldEdit-3.9.1.jar//org.primesoft.asyncworldedit.injector.core.visitors.Helpers.executeMethodEx(Helpers.java:99)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.function.operation.Operations.completeLegacy(Operations.java)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.command.tool.brush.OperationFactoryBrush.build(OperationFactoryBrush.java:57)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.command.tool.BrushTool.actPrimary(BrushTool.java:209)
[15:12:58 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.worldedit.command.tool.WrappedBrushTool.actPrimary(WrappedBrushTool.java:146)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.extension.platform.PlatformManager.handlePlayerInput(PlatformManager.java:425)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.util.eventbus.MethodHandleEventHandler.dispatch(MethodHandleEventHandler.java:51)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.util.eventbus.EventBus.nonwrapped_dispatch(EventBus.java:193)
[15:12:58 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.worldedit.util.eventbus.EventBusWrapper.dispatch(EventBusWrapper.java:107)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.util.eventbus.EventBus.nonwrapped_post(EventBus.java:181)
[15:12:58 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.worldedit.util.eventbus.EventBusWrapper.post(EventBusWrapper.java:71)
[15:12:58 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.worldedit.CancelabeEditSession$EventBusWrapESEvent.post(CancelabeEditSession.java:519)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.WorldEdit.handleRightClick(WorldEdit.java:639)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.bukkit.WorldEditListener.onPlayerInteract(WorldEditListener.java:144)
[15:12:58 INFO]: [AsyncWorldEdit] * com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor35.execute(Unknown Source)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
[15:12:58 INFO]: [AsyncWorldEdit] * co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:538)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:501)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:496)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:492)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1787)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.network.protocol.game.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:28)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.network.protocol.game.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:8)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:36)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.TickTask.run(TickTask.java:18)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.util.thread.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:149)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(IAsyncTaskHandlerReentrant.java:23)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:1363)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:192)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.util.thread.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:122)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1342)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1335)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:132)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1296)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1207)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318)
[15:12:58 INFO]: [AsyncWorldEdit] * java.base/java.lang.Thread.run(Thread.java:831)
[15:12:58 INFO]: [AsyncWorldEdit] ***********************************
[15:12:58 INFO]: [AsyncWorldEdit] Please report: Injection of EditSession to com.sk89q.worldedit.function.generator.ForestGenerator.editSession failed
[15:12:58 INFO]: [AsyncWorldEdit] ***********************************
[15:12:58 INFO]: [AsyncWorldEdit] region: security exception.
[15:12:58 INFO]: [AsyncWorldEdit] ***********************************
[15:12:58 INFO]: [AsyncWorldEdit] *
[15:12:58 INFO]: [AsyncWorldEdit] * Exception: java.lang.IllegalAccessException
[15:12:58 INFO]: [AsyncWorldEdit] * Error message: Field 'flatRegion' is FINAL. Set not supported on this platform.
[15:12:58 INFO]: [AsyncWorldEdit] * Stack:
[15:12:58 INFO]: [AsyncWorldEdit] * AsyncWorldEdit-3.9.1.jar//org.primesoft.asyncworldedit.utils.Reflection.safeSet(Reflection.java:347)
[15:12:58 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.asyncinjector.async.AsyncOperationProcessor.injectEditSession(AsyncOperationProcessor.java:357)
[15:12:58 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.asyncinjector.async.AsyncOperationProcessor.process(AsyncOperationProcessor.java:156)
[15:12:58 INFO]: [AsyncWorldEdit] * AsyncWorldEdit-3.9.1.jar//org.primesoft.asyncworldedit.injector.core.visitors.Helpers.executeMethodEx(Helpers.java:99)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.function.operation.Operations.completeLegacy(Operations.java)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.command.tool.brush.OperationFactoryBrush.build(OperationFactoryBrush.java:57)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.command.tool.BrushTool.actPrimary(BrushTool.java:209)
[15:12:58 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.worldedit.command.tool.WrappedBrushTool.actPrimary(WrappedBrushTool.java:146)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.extension.platform.PlatformManager.handlePlayerInput(PlatformManager.java:425)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.util.eventbus.MethodHandleEventHandler.dispatch(MethodHandleEventHandler.java:51)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.util.eventbus.EventHandler.handleEvent(EventHandler.java:73)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.util.eventbus.EventBus.nonwrapped_dispatch(EventBus.java:193)
[15:12:58 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.worldedit.util.eventbus.EventBusWrapper.dispatch(EventBusWrapper.java:107)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.util.eventbus.EventBus.dispatch(EventBus.java)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.util.eventbus.EventBus.nonwrapped_post(EventBus.java:181)
[15:12:58 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.worldedit.util.eventbus.EventBusWrapper.post(EventBusWrapper.java:71)
[15:12:58 INFO]: [AsyncWorldEdit] * org.primesoft.asyncworldedit.worldedit.CancelabeEditSession$EventBusWrapESEvent.post(CancelabeEditSession.java:519)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.util.eventbus.EventBus.post(EventBus.java)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.WorldEdit.handleRightClick(WorldEdit.java:639)
[15:12:58 INFO]: [AsyncWorldEdit] * worldedit-bukkit-7.2.7-SNAPSHOT-dist.jar//com.sk89q.worldedit.bukkit.WorldEditListener.onPlayerInteract(WorldEditListener.java:144)
[15:12:58 INFO]: [AsyncWorldEdit] * com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor35.execute(Unknown Source)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69)
[15:12:58 INFO]: [AsyncWorldEdit] * co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:624)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:538)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:501)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:496)
[15:12:58 INFO]: [AsyncWorldEdit] * org.bukkit.craftbukkit.v1_17_R1.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:492)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.network.PlayerConnection.a(PlayerConnection.java:1787)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.network.protocol.game.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:28)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.network.protocol.game.PacketPlayInBlockPlace.a(PacketPlayInBlockPlace.java:8)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.network.protocol.PlayerConnectionUtils.lambda$ensureRunningOnSameThread$1(PlayerConnectionUtils.java:36)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.TickTask.run(TickTask.java:18)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.util.thread.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:149)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.util.thread.IAsyncTaskHandlerReentrant.executeTask(IAsyncTaskHandlerReentrant.java:23)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:1363)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.executeTask(MinecraftServer.java:192)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.util.thread.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:122)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.bf(MinecraftServer.java:1342)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.executeNext(MinecraftServer.java:1335)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.util.thread.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:132)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.sleepForTick(MinecraftServer.java:1296)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.x(MinecraftServer.java:1207)
[15:12:58 INFO]: [AsyncWorldEdit] * net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318)
[15:12:58 INFO]: [AsyncWorldEdit] * java.base/java.lang.Thread.run(Thread.java:831)
[15:12:58 INFO]: [AsyncWorldEdit] ***********************************
[15:12:58 INFO]: [AsyncWorldEdit] Please report: Injection of Region to com.sk89q.worldedit.function.visitor.LayerVisitor.flatRegion failed

commented

You're not using WorldEdit.