Selaa lähdekoodia

Put empty lines above a skill command to make it easier to distinguish from chat

nossr50 6 vuotta sitten
vanhempi
sitoutus
6c0da22d5e

+ 6 - 0
src/main/java/com/gmail/nossr50/commands/skills/SkillCommand.java

@@ -63,6 +63,12 @@ public abstract class SkillCommand implements TabExecutor {
                 boolean hasEndurance = (PerksUtils.handleActivationPerks(player, 0, 0) != 0);
                 float skillValue = mcMMOPlayer.getSkillLevel(skill);
 
+                //Send the players a few blank lines to make finding the top of the skill command easier
+                for(int i = 0; i < 20; i++)
+                {
+                    player.sendMessage("");
+                }
+
                 permissionsCheck(player);
                 dataCalculations(player, skillValue, isLucky);