Whenever we right click on a enchanting table it says
[Tue 15:36:19 ERROR Minecraft] Could not pass event PlayerInteractEvent to Tweakin v8.0.0
java.lang.IllegalArgumentException: amount must be greater than 0
at com.google.common.base.Preconditions.checkArgument(Preconditions.java:143)
at org.bukkit.inventory.ItemStack.of(ItemStack.java:59)
at org.bukkit.inventory.ItemStack.(ItemStack.java:138)
at org.bukkit.inventory.ItemStack.(ItemStack.java:117)
at org.bukkit.inventory.ItemStack.(ItemStack.java:104)
at Tweakin-8.0.1.jar//com.github.sachin.tweakin.modules.lapisintable.LapisInTableTweak.onTableClickEvent(LapisInTableTweak.java:142)
at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor479.execute(Unknown Source)
at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77)
at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:84)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70)
at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54)
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:131)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:628)
at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:598)
at net.minecraft.server.level.ServerPlayerGameMode.useItemOn(ServerPlayerGameMode.java:536)
at net.minecraft.server.network.ServerGamePacketListenerImpl.handleUseItemOn(ServerGamePacketListenerImpl.java:1871)
at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:44)
at net.minecraft.network.protocol.game.ServerboundUseItemOnPacket.handle(ServerboundUseItemOnPacket.java:11)
at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:56)
at net.minecraft.server.TickTask.run(TickTask.java:18)
at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableE
Whenever we right click on a enchanting table it says