Skip to content

[Bug] create portal will makes game crash #572

@chengzi-sc

Description

@chengzi-sc

What happened?

(https://github.com/quiqueck/BetterEnd/blob/1.20/src/main/java/org/betterx/betterend/portal/PortalBuilder.java#L212)

found that canHostFrame methon was called over 200k times during create portal,costs about 2~3mins in one server tick,finally caused server crashed because ususlly max-tick-time in server properties are no so long

BetterEnd

4.0.11

BCLib

3.0.14

Fabric API

Forge

Fabric Loader

Forge

Minecraft

1.20.1

Relevant log output

Other Mods

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