Fixed Error being thrown with FRenameEvent

This commit is contained in:
Driftay 2020-01-01 02:11:20 -05:00
parent 4c90bae87c
commit fb32d2155b

View File

@ -34,7 +34,6 @@ public class CmdTag extends FCommand {
@Override @Override
public void perform(CommandContext context) { public void perform(CommandContext context) {
FactionsPlugin.getInstance().getServer().getScheduler().runTaskAsynchronously(FactionsPlugin.instance, () -> {
String tag = context.argAsString(0); String tag = context.argAsString(0);
@ -86,7 +85,6 @@ public class CmdTag extends FCommand {
} }
} }
FTeamWrapper.updatePrefixes(context.faction); FTeamWrapper.updatePrefixes(context.faction);
});
} }
@Override @Override