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

[Machines] Machines with fluid bars uninteractible (Nova v0.18-alpha.6) #536

Closed
5 tasks done
GabFran opened this issue Dec 18, 2024 · 0 comments
Closed
5 tasks done
Labels
resolution: fixed The bug has been fixed type: bug Something isn't working

Comments

@GabFran
Copy link

GabFran commented Dec 18, 2024

Agreements

  • I am using an official build of Nova.
  • I am running the latest version of Nova.
  • I am using a server software supported by Nova
  • I am running the latest version of my server software.
  • I have checked for similar issues.

Check for plugin incompatibilites

There are no other plugins running on my server.

Plugin Version, Server Software, Server Version

Paper 1.21.4-14, Nova v0.18-alpha.6

Nova Addons and Versions

Simple-Upgrades v1.5-alpha.2, Machines v0.4.7-alpha.4, Logistics v0.2.10-alpha.4

Expected behavior

Right clicking a machine with a fluid bar should open its GUI.

Observed/Actual behavior

Right-clicking a machine with a fluid bar results in a console error.

Steps to reproduce

  1. Right-click any machine with a fluid bar, such as pumps and tanks.
  2. Get error in console.

Server log

https://mclo.gs/gDrxXPv

Errors

[21:34:20 ERROR]: Could not pass event InventoryOpenEvent to vane-core v1.16.0
java.lang.IllegalStateException: No numeric custom model data
        at com.google.common.base.Preconditions.checkState(Preconditions.java:513) ~[guava-33.3.1-jre.jar:?]
        at org.bukkit.craftbukkit.inventory.CraftMetaItem.getCustomModelData(CraftMetaItem.java:1417) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at vane-core-1.16.0.jar/org.oddlama.vane.core.item.ExistingItemConverter.from_old_item(ExistingItemConverter.java:31) ~[vane-core-1.16.0.jar:?]
        at vane-core-1.16.0.jar/org.oddlama.vane.core.item.ExistingItemConverter.process_inventory(ExistingItemConverter.java:119) ~[vane-core-1.16.0.jar:?]
        at vane-core-1.16.0.jar/org.oddlama.vane.core.item.ExistingItemConverter.on_inventory_open(ExistingItemConverter.java:187) ~[vane-core-1.16.0.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor23.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.event.CraftEventFactory.callInventoryOpenEventWithTitle(CraftEventFactory.java:1443) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at org.bukkit.craftbukkit.event.CraftEventFactory.callInventoryOpenEventWithTitle(CraftEventFactory.java:1422) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at org.bukkit.craftbukkit.event.CraftEventFactory.callInventoryOpenEvent(CraftEventFactory.java:1419) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at xyz.xenondevs.invui.internal.util.InventoryUtils.openCustomInventory(InventoryUtils.java:87) ~[?:?]
        at xyz.xenondevs.invui.window.AbstractWindow.openInventory(AbstractWindow.java:255) ~[?:?]
        at xyz.xenondevs.invui.window.AbstractWindow.open(AbstractWindow.java:251) ~[?:?]
        at Nova-0.18-alpha.6.jar/xyz.xenondevs.nova.world.block.tileentity.TileEntity$IndividualTileEntityMenu.openWindow(TileEntity.kt:470) ~[Nova-0.18-alpha.6.jar:?]
        at Nova-0.18-alpha.6.jar/xyz.xenondevs.nova.world.block.tileentity.menu.IndividualMenuContainer.openWindow(MenuContainer.kt:92) ~[Nova-0.18-alpha.6.jar:?]
        at Nova-0.18-alpha.6.jar/xyz.xenondevs.nova.world.block.tileentity.TileEntity.handleRightClick(TileEntity.kt:207) ~[Nova-0.18-alpha.6.jar:?]
        at Nova-0.18-alpha.6.jar/xyz.xenondevs.nova.world.block.behavior.TileEntityInteractive.handleInteract(TileEntityInteractive.kt:24) ~[Nova-0.18-alpha.6.jar:?]
        at Nova-0.18-alpha.6.jar/xyz.xenondevs.nova.world.block.NovaBlock.handleInteract(NovaBlock.kt:137) ~[Nova-0.18-alpha.6.jar:?]
        at Nova-0.18-alpha.6.jar/xyz.xenondevs.nova.world.block.logic.interact.BlockInteracting.handleInteract(BlockInteracting.kt:65) ~[Nova-0.18-alpha.6.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor126.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at Nova-0.18-alpha.6.jar/xyz.xenondevs.nova.world.player.WrappedPlayerInteractEvent$Companion.handleInteract(WrappedPlayerInteractEvent.kt:53) ~[Nova-0.18-alpha.6.jar:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor125.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628) ~[paper-api-1.21.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:603) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:542) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:2014) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:44) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:11) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:55) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:154) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1579) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:207) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:128) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1556) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1549) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:138) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1500) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1510) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1346) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:341) ~[paper-1.21.4.jar:1.21.4-14-b746d9d]
        at java.base/java.lang.Thread.run(Thread.java:1583) ~[?:?]

Additional context

No response

@GabFran GabFran added the type: bug Something isn't working label Dec 18, 2024
@GabFran GabFran changed the title [Machines] - Pump uninteractible (Nova v0.18-alpha.6) [Machines] - Machines with fluid bars uninteractible (Nova v0.18-alpha.6) Dec 18, 2024
@NichtStudioCode NichtStudioCode added the resolution: fixed The bug has been fixed label Dec 18, 2024
@GabFran GabFran changed the title [Machines] - Machines with fluid bars uninteractible (Nova v0.18-alpha.6) [Machines] Machines with fluid bars uninteractible (Nova v0.18-alpha.6) Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
resolution: fixed The bug has been fixed type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants