Fix menu swaps not working when left clicking items

This commit is contained in:
Lucas
2019-06-27 16:25:35 +02:00
parent 971549db3a
commit f2d633ae56
10 changed files with 477 additions and 416 deletions

View File

@@ -99,6 +99,11 @@ public class InjectUtil
if (hint != null)
{
ClassFile c = inject.getDeobfuscated().findClass(hint);
if (c == null)
{
throw new InjectionException("Class " + hint + " doesn't exist. (check capitalization)");
}
for (Field f : c.getFields())
{
if (!f.getName().equals(name))