Skip to content

[General] Placing an unenchanted item into an Enchanting Table crashes server  #532

Closed
@GabFran

Description

@GabFran

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.4

Nova Addons and Versions

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

Expected behavior

Placing an unenchanted item into an Enchanting Table definitely shouldn't crash the server :p

Observed/Actual behavior

Placing an item into an Enchanting Table causes a server crash due to java.lang.StackOverflowError: Exception in server tick loop.
See crash report below.

Steps to reproduce

  1. Place an unenchanted item into an Enchanting Table
  2. Witness the death of the server :(

Server log

https://mclo.gs/MaZI7HK

Errors

java.lang.StackOverflowError: Exception in server tick loop
at Nova-0.18-alpha.4.jar//xyz.xenondevs.nova.patch.impl.item.EnchantmentPatches.isEnchantable(EnchantmentPatches.kt)
at net.minecraft.world.item.ItemStack.isEnchantable(ItemStack.java)
at Nova-0.18-alpha.4.jar//xyz.xenondevs.nova.patch.impl.item.EnchantmentPatches.isEnchantable(EnchantmentPatches.kt:113)
at net.minecraft.world.item.ItemStack.isEnchantable(ItemStack.java)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions