Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-136161

Server default difficulty is 1 (easy), should be 2 (normal)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, 20w21a, 1.16.2, 1.16.5, 21w15a, 1.18.1, 1.19, 1.19.2, 1.20.4, 1.21.1
    • None
    • Confirmed
    • Dedicated Server

      The bug

      The default difficulty is 1 (Easy) when it should be 2 (Normal). This is inconsistent with single player which correctly defaults to NORMAL (2).

      How to reproduce

      1. Create dedicated server
      2. Open server.properties
        Difficulty is set to 1 (Easy) and not 2 (Normal)

      Code analysis

      Code analysis and potential fix by Avoma can be found in this comment.

            Unassigned Unassigned
            md_5 [Mod] md_5
            Votes:
            12 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              CHK: