mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2025-07-12 10:38:34 +00:00
resolve conflicts
This commit is contained in:
@ -24,6 +24,7 @@ import com.sk89q.worldedit.world.registry.LegacyMapper;
|
||||
import javax.annotation.Nullable;
|
||||
import java.util.Collection;
|
||||
import java.util.Optional;
|
||||
import java.util.Locale;
|
||||
|
||||
public final class ItemTypes {
|
||||
|
||||
@ -914,7 +915,7 @@ public final class ItemTypes {
|
||||
|
||||
@Nullable
|
||||
public static ItemType parse(String input) {
|
||||
input = input.toLowerCase();
|
||||
input = input.toLowerCase(Locale.ROOT);
|
||||
if (!Character.isAlphabetic(input.charAt(0))) {
|
||||
try {
|
||||
ItemType legacy = LegacyMapper.getInstance().getItemFromLegacy(input);
|
||||
|
Reference in New Issue
Block a user