move getItemStackFromValue to ValueConversions
This commit is contained in:
1 parent
40bc200615
commit
d418b7d090
3 files changed
+32
-28
No files matched your search
@@ -259,7 +259,7 @@ public class Auxiliary {
|
||||
});
|
||||
|
||||
expression.addContextFunction("item_display_name", -1, (c, t, lv)->{
|
||||
return new FormattedTextValue(EntityValue.getItemStackFromValue(lv.get(0)).getHoverName());
|
||||
return new FormattedTextValue(ValueConversions.getItemStackFromValue(lv.get(0)).getHoverName());
|
||||
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user