Just use the field name instead of regetting it
This commit is contained in:
parent
62debf30c0
commit
05a849a510
@ -206,7 +206,7 @@ public class PacketsManager {
|
||||
if (!DisguiseUtilities.hasGameProfile(name)) {
|
||||
removeName = !DisguiseUtilities.getAddedByPlugins().contains(name);
|
||||
}
|
||||
gameProfile = DisguiseUtilities.getProfileFromMojang(((PlayerDisguise) disguise).getName());
|
||||
gameProfile = DisguiseUtilities.getProfileFromMojang(name);
|
||||
if (removeName) {
|
||||
DisguiseUtilities.getAddedByPlugins().remove(name);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user