Warp sign: Shorter error, so it won't get cut off.

git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1527 e251c2fe-e539-e718-e476-b85c1f46cddb
This commit is contained in:
snowleo 2011-05-22 21:51:55 +00:00
parent e2c06506bc
commit 15142c0ead

View File

@ -137,7 +137,7 @@ public class EssentialsBlockListener extends BlockListener
event.setLine(3, (m1 ? Util.formatCurrency(q1) : (int)q1 + " " + l1[1]));
}
if (event.getLine(1).isEmpty()) {
event.setLine(1, "§dWarp name here!");
event.setLine(1, "§dWarp name!");
return;
} else {
Essentials.getWarps().getWarp(event.getLine(1));