SkriptLang / Skript

Skript is a Spigot plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone to program a plugin for them.
https://docs.skriptlang.org
GNU General Public License v3.0
1.05k stars 365 forks source link

Enchant/anvil inventories don't function intended #6470

Open DanRubMaster opened 6 months ago

DanRubMaster commented 6 months ago

Skript/Server Version

[16:49:27 INFO]: [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases

[16:49:27 INFO]: [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/

[16:49:27 INFO]: [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials

[16:49:27 INFO]: [Skript] Server Version: git-Paper-550 (MC: 1.19.4)

[16:49:27 INFO]: [Skript] Skript Version: 2.8.3 (skriptlang-github)

[16:49:27 INFO]: [Skript] Installed Skript Addons:

[16:49:27 INFO]: [Skript] - skript-reflect v2.4 (https://github.com/SkriptLang/skript-reflect)

[16:49:27 INFO]: [Skript] - SkQuery v4.1.10

[16:49:27 INFO]: [Skript] - SkBee v3.3.0 (https://github.com/ShaneBeee/SkBee)

[16:49:27 INFO]: [Skript] - SkJson v3.0.2 (https://www.skjson.xyz/)

[16:49:27 INFO]: [Skript] - Ersatz v1.0

[16:49:27 INFO]: [Skript] Installed dependencies:

[16:49:27 INFO]: [Skript] - WorldGuard v7.0.8+33cdb4a

Bug Description

When you want to open an enchant, via open enchanting table inventory to player it opens the enchanting table, but once you put something in it, you can't enchant anything. So its basically useless

Expected Behavior

Opens a normal enchanting table, like when you put it on the ground and click on it to enchant in it.

Steps to Reproduce

put open enchanting table inventory to player in the code and run it in the game.

Errors or Screenshots

No response

Other

No response

Agreement

NotSoDelayed commented 6 months ago

I can replicate this bug, but this is more of a Bukkit-related issue rather than Skript, most likely due to Minecraft limitations. This also applies to anvils.