mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 14:46:45 +01:00
ENGLISH > ROOT
This commit is contained in:
parent
3c5dd3d0d2
commit
81aaba328a
@ -95,7 +95,7 @@ public class Set extends SubCommand {
|
|||||||
|
|
||||||
if (blockType.startsWith("##")) {
|
if (blockType.startsWith("##")) {
|
||||||
try {
|
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))) {
|
if (category == null || !category.contains(BlockTypes.get(forbiddenType))) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user