Stargate Rewritten

Stargate Rewritten

241 Downloads

All portals are A gates.

Pheotis opened this issue ยท 0 comments

commented

Bug Description

Players without permissions to make A gates can make them.

Reproduction Steps

  1. Create a portal as a user without permissions to use A (default nodes)
portal1
portal2

a

image
You will be denied permission, which is intended.
2. Create a second portal as a user without permissions to use A (default nodes)

portal2
portal1

a

You will again be denied permission, which is intended.

image

  1. Activate the portal by pressing the button, and enter it
    image

Desired Behaviour

After you go through the portal, it should close.

Observed Behaviour

The portal never closes (this screenshot is 10 mins after the player entered the portal).
image

Players can repeatedly go through the portal without clicking the button.
In this phantom state, users without permissions can go through the portal.

For example, in this instance, the portal is on the personal network "Pheotis".
Other users with sg.use.network.personal.other negated are still able to use this portal.

Trace Logs

Default config.

BukkitInstance: 1.20.6-128-3181470 (MC: 1.20.6)
Stargate version: 1.0.0.16-NIGHTLY-3
JavaVersion: 21.0.1
OperatingSystem: Windows 11

Other Information

Probably no important, but this was from an instance with multiple online players.