Skip to content

Size of {::*} working incorrect #2600

@legofreak1999

Description

@legofreak1999

Description

Wenn a list has a list inside a list and the values are deleted. the "size of" expression still thinks there values inside of the variable

Steps to Reproduce

command /variablesizebug:
	trigger:
		set {test::test} to "test"
		set {test::test::test} to "test"
		set {_s} to size of {test::*}
		send "%{_s}%"
		delete {test::test::test}
		delete {test::test}
		set {_s} to size of {test::*}
		send "%{_s}%"
		delete {test::*}
		set {_s} to size of {test::*}
		send "%{_s}%"

Expected Behavior

send values should be 1 0 0 instead of 1 1 0

Server Information

  • Server version/platform: Paper version git-Paper-642 (MC: 1.13.2)
  • Skript version: skript version 2.3.7 & skript version 2.4-beta9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue that needs to be fixed. Alternatively, a PR fixing an issue.completedThe issue has been fully resolved and the change will be in the next Skript update.variablesRelated to variables and/or storing them.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions