WorldGuard

WorldGuard

8M Downloads

Gamemode flag no longer working

LadyCailinBot opened this issue ยท 1 comments

commented

WORLDGUARD-3799 - Reported by Chaos

The code in PlayerMoveListener.java (https://github.com/sk89q/WorldGuard/blob/master/worldguard-legacy/src/main/java/com/sk89q/worldguard/bukkit/listener/PlayerMoveListener.java) that should check the region flag for gamemode and enforce it, is missing.

There only exists one event listener for when a player changes his gamemode (https://github.com/sk89q/WorldGuard/blob/master/worldguard-legacy/src/main/java/com/sk89q/worldguard/bukkit/listener/WorldGuardPlayerListener.java), but none to actually enforce it.

commented

Comment by wizjany

they both use the session handler and they are both working fine right now.