energy-sync / BeaconWaypoints

Minecraft Spigot plugin that turns beacons into fast travel points
MIT License
7 stars 3 forks source link

restriction of plugin Residence is bypassed #26

Open kqakqakqa opened 2 months ago

kqakqakqa commented 2 months ago

Describe the bug screenshot Although the player doesn't have beacon permission, this player can still set the beacon bonus.

To Reproduce Steps to reproduce the behavior:

  1. Create a residence with beacon flag set to false
  2. Build a beacon(with base) and right click
  3. Choose "change beacon effect"

Expected behavior After clicking "change beacon effect", menu disappears, and no beacon menu will pop up.

Additional context If the player shift+rightclick, there will be no menu, but only Residence message. screenshot So this bug may not be hard to fix? (not open beacon menu directly, but simulate a shift+rightclick action, I suppose)