mirror of
https://github.com/ChestShop-authors/ChestShop-3.git
synced 2024-11-23 18:45:31 +01:00
Fix the price exploit
This commit is contained in:
parent
6ca16ce7e2
commit
cb126f22cf
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user