forked from HelloWorldMinecraft/AutomaticInventory
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Error: Could not pass event BlockFertilizeEvent to AutomaticInventory #48
Comments
Just compile it from the source. It was fixed a long time ago, just not
released. :)
…On Mon, Jun 20, 2022 at 3:19 PM TheoRetisch1 ***@***.***> wrote:
If a grass block is shot with bonemeal by an underneath dispenser and
plants grow as a result, the following error appears in the log:
> 2022-06-20 21:41:56,808 Server thread ERROR Recursive call to appender Async
[21:41:56 ERROR]: Could not pass event BlockFertilizeEvent to AutomaticInventory v2.12.2-eab34e8
java.lang.NullPointerException: Cannot invoke "org.bukkit.entity.Player.getInventory()" because "player" is null
at me.ryanhamshire.AutomaticInventory.AIEventHandler.onFertilize(AIEventHandler.java:74) ~[AutomaticInventory.jar:?]
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor59.execute(Unknown Source) ~[?:?]
at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:75) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:git-Paper-386]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:669) ~[paper-api-1.18.2-R0.1-SNAPSHOT.jar:?]
at net.minecraft.core.dispenser.DispenseItemBehavior$19.execute(DispenseItemBehavior.java:830) ~[?:?]
at net.minecraft.core.dispenser.DefaultDispenseItemBehavior.dispense(DefaultDispenseItemBehavior.java:32) ~[?:?]
at net.minecraft.world.level.block.DispenserBlock.dispenseFrom(DispenserBlock.java:97) ~[?:?]
at net.minecraft.world.level.block.DispenserBlock.tick(DispenserBlock.java:123) ~[?:?]
at net.minecraft.world.level.block.state.BlockBehaviour$BlockStateBase.tick(BlockBehaviour.java:1015) ~[?:?]
at net.minecraft.server.level.ServerLevel.tickBlock(ServerLevel.java:1082) ~[?:?]
at net.minecraft.world.ticks.LevelTicks.runCollectedTicks(LevelTicks.java:197) ~[?:?]
at net.minecraft.world.ticks.LevelTicks.tick(LevelTicks.java:94) ~[?:?]
at net.minecraft.server.level.ServerLevel.tick(ServerLevel.java:616) ~[?:?]
at net.minecraft.server.MinecraftServer.tickChildren(MinecraftServer.java:1593) ~[paper-1.18.2.jar:git-Paper-386]
at net.minecraft.server.dedicated.DedicatedServer.tickChildren(DedicatedServer.java:483) ~[paper-1.18.2.jar:git-Paper-386]
at net.minecraft.server.MinecraftServer.tickServer(MinecraftServer.java:1456) ~[paper-1.18.2.jar:git-Paper-386]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1226) ~[paper-1.18.2.jar:git-Paper-386]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:316) ~[paper-1.18.2.jar:git-Paper-386]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Since there are some farms based on this design, the error occurs very
often in sequence. Therefore, it would be fantastic if you could fix the
error.
Paper 1.18.2 build 384
AutomaticInventory version 2.12.2-eab34e8
—
Reply to this email directly, view it on GitHub
<#48>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEATM2B34AIWBIM6S7YNQQDVQDG5ZANCNFSM5ZJ7DX5Q>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Pushed a release finally. Think I meant to test automating releases with this project, but clearly I'm still nowhere close to that. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a grass block is shot with bonemeal by an underneath dispenser and plants grow as a result, the following error appears in the log:
Since there are some farms based on this design, the error occurs very often in sequence. Therefore, it would be fantastic if you could fix the error.
Paper 1.18.2 build 384
AutomaticInventory version 2.12.2-eab34e8
The text was updated successfully, but these errors were encountered: