SkriptLang / skript-reflect

Powerful reflection utilities for Skript.
MIT License
62 stars 19 forks source link

Possible Bug #118

Closed Blazin3330 closed 1 month ago

Blazin3330 commented 1 month ago

Describe the bug Unsure.

To reproduce

import:
  io.th0rgal.oraxen.api.OraxenItems

expression orax[en] item <from|of> %string%:
  get:
    return OraxenItems.getItemById(expr-1).build()

on right click:
  drop 1 of oraxen item of "blueSlimeball" at event-location

Expected behavior Drop a 'blueSlimeball' from the Oraxen plugin

Error https://pastebin.com/f9gzy2Vv

Server information

NotSoDelayed commented 1 month ago

Try orax[en] item (from|of) %string%

sovdeeth commented 1 month ago

Doesn't seem like a skript-reflect issue. The issue is that org.bukkit.inventory.ItemRarity doesn't exist on 1.20.4.