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:
Christian 2013-03-27 16:54:26 -04:00
parent a408fec0b8
commit 27fe51a39c

View file

@ -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)
{