GriefPrevention3D

A fork of GriefPrevention that adds 3D subdivisions

File Details

GriefPrevention3D v18.1.10

  • R
  • Jun 29, 2026
  • 906.37 KB
  • 5
  • 26.2+45

File Name

GriefPrevention3D.jar

Supported Versions

  • 26.2
  • 26.1.2
  • 26.1.1
  • 26.1
  • 1.21.5-Snapshot
  • 1.21.11
  • 1.21.10
  • 1.21.9
  • 1.21.8
  • 1.21.7
  • 1.21.6
  • 1.21.5
  • 1.21.4
  • 1.21.3
  • 1.21.2
  • 1.21.1
  • 1.21
  • 1.20.3-Snapshot
  • 1.20.5-Snapshot
  • 1.20.6
  • 1.20.5
  • 1.20.4
  • 1.20.3
  • 1.20.2
  • 1.20.1
  • 1.20
  • 1.19.4
  • 1.19.3
  • 1.19.2
  • 1.19.1
  • 1.19
  • 1.18.2
  • 1.18.1
  • 1.18
  • 1.17
  • 1.16
  • 1.15
  • 1.14
  • 1.13
  • 1.12
  • 1.11
  • 1.10
  • 1.9
  • 1.8.3
  • 1.8.1
  • 1.8

v18.1.10: fix pirate speak locale fallback bug

GriefPrevention3D v18.1.10

Wiki: GriefPrevention3D Wiki

Fixes

Locale resolution no longer falls back to en_PT for English players

Fixed a bug where players with a standard English client locale (en_US, en_GB) could receive messages in Pirate Speak (en_PT) instead of plain English.

Root cause: The per-player locale resolver's prefix-matching fallback iterated over a HashMap and returned the first key sharing the same 2-letter language prefix. Since both en and en_PT start with en, players whose client locale didn't exactly match a loaded locale could non-deterministically receive pirate speak.

Fix: The prefix fallback now prefers the exact base locale code (en) over variants (en_PT). A variant is only used when no exact base match exists. English-speaking players will always get en, and en_PT is only selected when the player's client locale is explicitly en_PT.

  • DataStore.java: resolvePlayerLocale() prefix loop now tracks exact-base and variant matches separately, returning the exact base first.