Fix the price exploit

This commit is contained in:
Andrzej Pomirski 2015-03-17 11:36:19 +01:00
parent 6ca16ce7e2
commit cb126f22cf

View File

@ -24,7 +24,7 @@ public class PriceUtil {
String character = String.valueOf(indicator).toLowerCase();
for (String part : split) {
if (!part.contains(character)) {
if (!part.startsWith(character) && !part.endsWith(character)) {
continue;
}