Make categoryMap final in KeyMappings.java
Signed-off-by: Username404 <w.iron.zombie@gmail.com>
This commit is contained in:
parent
76b17d0c97
commit
08094e87de
|
@ -25,7 +25,7 @@ abstract class KeyMappings {
|
|||
|
||||
@Inject(method = "<init>*", at = @At("RETURN"))
|
||||
private void onSettingsConstructed(Minecraft minecraft, File file, CallbackInfo ci) {
|
||||
var categoryMap = KeysAccessor.getSortedCategoryMap();
|
||||
final var categoryMap = KeysAccessor.getSortedCategoryMap();
|
||||
var newKeys = Lists.newArrayList(keyMappings);
|
||||
for (KeyMapping key : keysToAdd) {
|
||||
if (!categoryMap.containsKey(key.getCategory())) {
|
||||
|
|
|
@ -12,6 +12,5 @@
|
|||
"injectors": {
|
||||
"defaultRequire": 1
|
||||
},
|
||||
"minVersion": "0.8",
|
||||
"refmap": "snowygui-common-refmap.json"
|
||||
"minVersion": "0.8"
|
||||
}
|
Loading…
Reference in New Issue