From 8f4d5442b16d432108326ef1528835de9acb6100 Mon Sep 17 00:00:00 2001 From: GJ Date: Tue, 12 Feb 2013 16:47:11 -0500 Subject: [PATCH] Better than looping. --- src/main/java/com/gmail/nossr50/skills/SkillGuide.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/skills/SkillGuide.java b/src/main/java/com/gmail/nossr50/skills/SkillGuide.java index 99d65c26b..7c1f9fe8d 100644 --- a/src/main/java/com/gmail/nossr50/skills/SkillGuide.java +++ b/src/main/java/com/gmail/nossr50/skills/SkillGuide.java @@ -50,9 +50,7 @@ public final class SkillGuide { } public static void clearChat(Player player) { - for (int x = 0; x < 20; x++) { - player.sendMessage(""); - } + player.sendMessage("\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n"); } public static boolean grabGuidePageForSkill(SkillType skilltype, Player player, String[] args) {