mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-19 15:09:15 +00:00
移除冗余代码
This commit is contained in:
@@ -48,7 +48,6 @@ public interface CustomFurniture {
|
||||
if (optionalVariant.isPresent()) {
|
||||
variantName = optionalVariant.get();
|
||||
} else {
|
||||
@SuppressWarnings("deprecation")
|
||||
Optional<AnchorType> optionalAnchorType = accessor.anchorType();
|
||||
if (optionalAnchorType.isPresent()) {
|
||||
variantName = optionalAnchorType.get().name().toLowerCase(Locale.ROOT);
|
||||
|
||||
Reference in New Issue
Block a user