Skip to content

Issues with set max stack size #8308

@0xRty

Description

@0xRty

Skript/Server Version

[05:25:13 INFO] [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[05:25:13 INFO] [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[05:25:13 INFO] [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[05:25:13 INFO] [Skript] Server Version: 1.21.8-60-29c8822 (MC: 1.21.8)
[05:25:13 INFO] [Skript] Skript Version: 2.13.0 (skriptlang-github)
[05:25:13 INFO] [Skript] Installed Skript Addons:
[05:25:13 INFO] [Skript] - SkBee v3.12.2 (https://github.com/ShaneBeee/SkBee)
[05:25:13 INFO] [Skript] - skript-worldedit v1.1.2
[05:25:13 INFO] [Skript] - skript-reflect v2.6.1 (https://github.com/SkriptLang/skript-reflect)
[05:25:13 INFO] [Skript] - SkNMS v1.3.0-1.21.6 (https://github.com/ShaneBeee/SkNMS)
[05:25:13 INFO] [Skript] Installed dependencies:
[05:25:13 INFO] [Skript] - Vault v1.7.3-b131
[05:25:13 INFO] [Skript] - WorldGuard v7.0.15-SNAPSHOT+2342-f8415ed
[05:25:44 INFO] [Skript] Skript's aliases can be found here: https://github.com/SkriptLang/skript-aliases
[05:25:44 INFO] [Skript] Skript's documentation can be found here: https://docs.skriptlang.org/
[05:25:44 INFO] [Skript] Skript's tutorials can be found here: https://docs.skriptlang.org/tutorials
[05:25:44 INFO] [Skript] Server Version: 1.21.8-60-29c8822 (MC: 1.21.8)
[05:25:44 INFO] [Skript] Skript Version: 2.13.0 (skriptlang-github)
[05:25:44 INFO] [Skript] Installed Skript Addons:
[05:25:44 INFO] [Skript] - SkBee v3.12.2 (https://github.com/ShaneBeee/SkBee)
[05:25:44 INFO] [Skript] - skript-worldedit v1.1.2
[05:25:44 INFO] [Skript] - skript-reflect v2.6.1 (https://github.com/SkriptLang/skript-reflect)
[05:25:44 INFO] [Skript] - SkNMS v1.3.0-1.21.6 (https://github.com/ShaneBeee/SkNMS)
[05:25:44 INFO] [Skript] Installed dependencies:
[05:25:44 INFO] [Skript] - Vault v1.7.3-b131
[05:25:44 INFO] [Skript] - WorldGuard v7.0.15-SNAPSHOT+2342-f8415ed

Bug Description

set max stack size of clicked slot to {_n}
and
set max stack size of slot {_s} of {_gui} to {_n}
Don't work in a gui

Expected Behavior

It should change the max stack size of an item but it doesn't.

Steps to Reproduce

Open a gui to the player.

set slot {_s} of {_gui} to {_item}
set max stack size of {_item} to {_n}

Errors or Screenshots

No response

Other

No response

Agreement

  • I have read the guidelines above and affirm I am following them with this report.

Metadata

Metadata

Assignees

No one assigned

    Labels

    2.14Targeting a 2.14.X version release.bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.

    Type

    No type

    Projects

    Status

    Planned Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions