mirror of
https://github.com/TotalFreedomMC/TF-PlotSquared.git
synced 2024-12-23 00:15:06 +00:00
ENGLISH > ROOT
This commit is contained in:
parent
3c5dd3d0d2
commit
81aaba328a
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ public class Set extends SubCommand {
|
|||
|
||||
if (blockType.startsWith("##")) {
|
||||
try {
|
||||
final BlockCategory category = BlockCategory.REGISTRY.get(blockType.substring(2).toLowerCase(Locale.ROOT));
|
||||
final BlockCategory category = BlockCategory.REGISTRY.get(blockType.substring(2).toLowerCase(Locale.ENGLISH));
|
||||
if (category == null || !category.contains(BlockTypes.get(forbiddenType))) {
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue