summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-23 09:23:03 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-23 09:23:03 +0000
commit1f02f6fac8138b5285687a45906932b88d740c4e (patch)
tree0de25308a665a476ef661418b3616ee529043f0d
parent8ede0f19c56c3760be479937f81708307b3861aa (diff)
downloadEssentials-1f02f6fac8138b5285687a45906932b88d740c4e.tar
Essentials-1f02f6fac8138b5285687a45906932b88d740c4e.tar.gz
Essentials-1f02f6fac8138b5285687a45906932b88d740c4e.tar.lz
Essentials-1f02f6fac8138b5285687a45906932b88d740c4e.tar.xz
Essentials-1f02f6fac8138b5285687a45906932b88d740c4e.zip
Copy&Paste bug in trade signs
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1530 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r--Essentials/src/com/earth2me/essentials/EssentialsEcoBlockListener.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/EssentialsEcoBlockListener.java b/Essentials/src/com/earth2me/essentials/EssentialsEcoBlockListener.java
index aac9feff1..39552925f 100644
--- a/Essentials/src/com/earth2me/essentials/EssentialsEcoBlockListener.java
+++ b/Essentials/src/com/earth2me/essentials/EssentialsEcoBlockListener.java
@@ -188,7 +188,7 @@ public class EssentialsEcoBlockListener extends BlockListener
boolean m2 = l2[0].matches("[^0-9][0-9]+(\\.[0-9]+)?");
double q1 = Double.parseDouble(m1 ? l1[0].substring(1) : l1[0]);
double q2 = Double.parseDouble(m2 ? l2[0].substring(1) : l2[0]);
- if (m1 ? l2.length != 1 : l2.length != 2)
+ if (m1 ? l1.length != 1 : l1.length != 2)
{
throw new Exception(Util.format("invalidSignLine", 2));
}