Skip to content

Lag TPS Issue when accessing containers #197

@DarkChromaMC

Description

@DarkChromaMC

Used ChestSort version
14.1.0

Used Spigot version
1.21.1

Describe the bug
When opening a container with lots of shulkers, the server TPS gets a lag spike.

To Reproduce
Open this shulker by pasting schematic and repeatedly open it
chest.schem.zip

Expected behavior
No lag when opening containers

Additional context
It seems to be caused by de.jeff_media.chestsort.listeners.ChestSortListener.onChestClose()

Spark profile: https://spark.lucko.me/qTH7xF7Xxg?hl=11900
Server version: 1.21.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions