mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-08-29 08:42:17 +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
|
@Shadow
|
||||||
@Final
|
@Final
|
||||||
private static Logger LOGGER;
|
private static Logger LOGGER;
|
||||||
@Shadow
|
|
||||||
@Final
|
private static final String DEFAULT = "en_us";
|
||||||
private static String DEFAULT;
|
|
||||||
|
|
||||||
@Shadow
|
@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 ) )
|
try( InputStream inputStream = Files.newInputStream( path ) )
|
||||||
{
|
{
|
||||||
loadFromJson( inputStream, biConsumer );
|
load( inputStream, biConsumer );
|
||||||
}
|
}
|
||||||
catch( JsonParseException | IOException e )
|
catch( JsonParseException | IOException e )
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user