Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-1168

player.setSleepingIgnored() not working on spectators

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None

      When a players sleepingIgnored value is set to true by player.setSleepingIgnored(true) it does change as expected (player.isSleepingIgnored() returns true).
      However if the player is a spectator his sleeping state is not ignored. Even though the value is set correctly..
      Other people on the server can not sleep unless the spectator changes to a different gamemode. As soon as his gamemode switches the sleeping works.

            Unassigned Unassigned
            freundTech Adrian Freund
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: