mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-28 00:12:16 +00:00
Fix MixinLanguage mapping.
There's no DEFAULT field to shadow in 1.16, so we'll add it ourselves.
This commit is contained in:
parent
24ec601e74
commit
e0a337a6f0
@ -42,12 +42,11 @@ public class MixinLanguage
|
||||
@Shadow
|
||||
@Final
|
||||
private static Logger LOGGER;
|
||||
@Shadow
|
||||
@Final
|
||||
private static String DEFAULT;
|
||||
|
||||
private static final String DEFAULT = "en_us";
|
||||
|
||||
@Shadow
|
||||
private static void loadFromJson( InputStream inputStream, BiConsumer<String, String> entryConsumer )
|
||||
public static void load( InputStream inputStream, BiConsumer<String, String> entryConsumer )
|
||||
{
|
||||
}
|
||||
|
||||
@ -58,7 +57,7 @@ public class MixinLanguage
|
||||
|
||||
try( InputStream inputStream = Files.newInputStream( path ) )
|
||||
{
|
||||
loadFromJson( inputStream, biConsumer );
|
||||
load( inputStream, biConsumer );
|
||||
}
|
||||
catch( JsonParseException | IOException e )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user