mirror of
https://github.com/TuxCoding/FastLogin.git
synced 2025-07-30 10:47:33 +02:00
Re-enable force checkstyle check
This commit is contained in:
2
pom.xml
2
pom.xml
@ -132,7 +132,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<configLocation>checkstyle.xml</configLocation>
|
<configLocation>checkstyle.xml</configLocation>
|
||||||
<consoleOutput>true</consoleOutput>
|
<consoleOutput>true</consoleOutput>
|
||||||
<failsOnError>false</failsOnError>
|
<failsOnError>true</failsOnError>
|
||||||
<linkXRef>false</linkXRef>
|
<linkXRef>false</linkXRef>
|
||||||
</configuration>
|
</configuration>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@ -96,8 +96,7 @@ public class AsyncToggleMessage implements Runnable {
|
|||||||
playerProfile.setPremium(true);
|
playerProfile.setPremium(true);
|
||||||
core.getStorage().save(playerProfile);
|
core.getStorage().save(playerProfile);
|
||||||
PremiumToggleReason reason = (!isPlayerSender || !senderName.equalsIgnoreCase(playerProfile.getName()))
|
PremiumToggleReason reason = (!isPlayerSender || !senderName.equalsIgnoreCase(playerProfile.getName()))
|
||||||
?
|
? PremiumToggleReason.COMMAND_OTHER : PremiumToggleReason.COMMAND_SELF;
|
||||||
PremiumToggleReason.COMMAND_OTHER : PremiumToggleReason.COMMAND_SELF;
|
|
||||||
core.getPlugin().getProxy().getEventManager().fire(
|
core.getPlugin().getProxy().getEventManager().fire(
|
||||||
new VelocityFastLoginPremiumToggleEvent(playerProfile, reason));
|
new VelocityFastLoginPremiumToggleEvent(playerProfile, reason));
|
||||||
sendMessage("add-premium");
|
sendMessage("add-premium");
|
||||||
|
Reference in New Issue
Block a user