Always unregister extended name

This commit is contained in:
Reason 2023-07-05 22:31:13 +01:00
parent aa950cfd8f
commit d438cb3e70

View File

@ -723,8 +723,8 @@ public class PlayerDisguise extends TargetedDisguise {
}
@Override
public boolean removeDisguise(boolean disguiseBeingReplaced) {
boolean result = super.removeDisguise(disguiseBeingReplaced);
public boolean removeDisguise(CommandSender sender, boolean disguiseBeingReplaced) {
boolean result = super.removeDisguise(sender, disguiseBeingReplaced);
if (!result) {
return result;