Skip to content

Bug: Issue with /npc action run_as_op #207

@AnOwlBe

Description

@AnOwlBe

In which plugin has the error occurred?

FancyNpcs

What happened?

Basically, if you have an npc which gives op for 1 tick and does an action, if the action is to ban a player (or kick player I think) it will do the action and not de op player.

I think a possible solution is to make it use offlineplayer not player (if its using player right now)

obviously this is very specific and why would you ever have this but someone was playing around and it happened and a member got op

In which software has the error occurred?

Paper

Plugin version

2.9.2

Server version

1.21.11

Relevant log output

Not needed

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: MediumShould be done for the next regular versionStatus: PendingWaiting for someone to work onType: BugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions