Rename keysAccessor to KeysAccessor.

This commit is contained in:
Username404-59 2021-04-08 20:42:07 +02:00
parent 47b9220ade
commit 073e3e64cb
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ class KeyMappings {
@Inject(method = "<init>*", at = @At("RETURN"))
private void onSettingsConstructed(Minecraft minecraft, File file, CallbackInfo ci) {
Map<String, Integer> categoryMap = keysAccessor.getSortedCategoryMap();
Map<String, Integer> categoryMap = KeysAccessor.getSortedCategoryMap();
List<KeyMapping> newKeys = Lists.newArrayList(keyMappings);
for (KeyMapping key : keysToAdd) {
if (!categoryMap.containsKey(key.getCategory())) {

View File

@ -7,7 +7,7 @@ import org.spongepowered.asm.mixin.gen.Accessor;
import java.util.Map;
@Mixin(KeyMapping.class)
public interface keysAccessor {
public interface KeysAccessor {
@Accessor("CATEGORY_SORT_ORDER")
static Map<String, Integer> getSortedCategoryMap() { throw new AssertionError(); }
}

View File

@ -3,7 +3,7 @@
"package": "fr.username404.snowygui.mixins",
"compatibilityLevel": "JAVA_8",
"client": [
"keysAccessor",
"KeysAccessor",
"KeyMappings"
],
"injectors": {