Attempt to make any "default package" class public. This might fix problems with certain modloader mods that ship changes to vanilla classes.
This commit is contained in:
parent
a408fec0b8
commit
27fe51a39c
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ public class AccessTransformer implements IClassTransformer
|
|||
public byte[] transform(String name, String transformedName, byte[] bytes)
|
||||
{
|
||||
if (bytes == null) { return null; }
|
||||
boolean makeAllPublic = FMLDeobfuscatingRemapper.INSTANCE.isRemappedClass(name);
|
||||
boolean makeAllPublic = FMLDeobfuscatingRemapper.INSTANCE.isRemappedClass(name) || !name.contains("/");
|
||||
|
||||
if (DEBUG)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue