mirror of
https://github.com/essentials/Essentials.git
synced 2025-08-14 02:24:16 +02:00
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:
@@ -137,7 +137,7 @@ public class EssentialsBlockListener extends BlockListener
|
|||||||
event.setLine(3, (m1 ? Util.formatCurrency(q1) : (int)q1 + " " + l1[1]));
|
event.setLine(3, (m1 ? Util.formatCurrency(q1) : (int)q1 + " " + l1[1]));
|
||||||
}
|
}
|
||||||
if (event.getLine(1).isEmpty()) {
|
if (event.getLine(1).isEmpty()) {
|
||||||
event.setLine(1, "§dWarp name here!");
|
event.setLine(1, "§dWarp name!");
|
||||||
return;
|
return;
|
||||||
} else {
|
} else {
|
||||||
Essentials.getWarps().getWarp(event.getLine(1));
|
Essentials.getWarps().getWarp(event.getLine(1));
|
||||||
|
Reference in New Issue
Block a user