Solved Gamemode spectator acess chests

Discussion in 'Plugin Help/Development/Requests' started by davidmanassa, Jul 11, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    davidmanassa

    In 1.8, using gamemode 3 (spectator), players can view chests contents by right-clicking them.

    How can I disable it somehow
     
  2. @davidmanassa Check their gamemode in PlayerInteractEvent and if it is spectator then cancel it.
     
  3. Offline

    davidmanassa

    oh

    Thanks!!!
    Resulted.
     
Thread Status:
Not open for further replies.

Share This Page