mirror of
https://github.com/AtlasMediaGroup/TotalFreedomMod.git
synced 2024-11-27 01:05:38 +00:00
im gay
This commit is contained in:
parent
9f22115b30
commit
60c46b7c8e
1
.idea/compiler.xml
generated
1
.idea/compiler.xml
generated
@ -7,7 +7,6 @@
|
|||||||
<sourceOutputDir name="target/generated-sources/annotations" />
|
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||||
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||||
<outputRelativeToContentRoot value="true" />
|
<outputRelativeToContentRoot value="true" />
|
||||||
<module name="totalfreedom" />
|
|
||||||
</profile>
|
</profile>
|
||||||
</annotationProcessing>
|
</annotationProcessing>
|
||||||
<bytecodeTargetLevel>
|
<bytecodeTargetLevel>
|
||||||
|
@ -22,12 +22,6 @@ public class Command_verify extends FreedomCommand
|
|||||||
@Override
|
@Override
|
||||||
public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
|
public boolean run(CommandSender sender, Player playerSender, Command cmd, String commandLabel, String[] args, boolean senderIsConsole)
|
||||||
{
|
{
|
||||||
if (!plugin.dc.enabled)
|
|
||||||
{
|
|
||||||
msg("The Discord verification system is currently disabled", ChatColor.RED);
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (args.length == 1 && plugin.al.isAdmin(playerSender))
|
if (args.length == 1 && plugin.al.isAdmin(playerSender))
|
||||||
{
|
{
|
||||||
@ -56,6 +50,12 @@ public class Command_verify extends FreedomCommand
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
if (!plugin.dc.enabled)
|
||||||
|
{
|
||||||
|
msg("The Discord verification system is currently disabled", ChatColor.RED);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
if (senderIsConsole || plugin.al.isAdmin(playerSender))
|
if (senderIsConsole || plugin.al.isAdmin(playerSender))
|
||||||
{
|
{
|
||||||
msg("/verify <playername>", ChatColor.WHITE);
|
msg("/verify <playername>", ChatColor.WHITE);
|
||||||
|
Loading…
Reference in New Issue
Block a user