mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-31 21:06:47 +00:00
2.2.19
This commit is contained in:
@@ -479,7 +479,7 @@ public class BukkitConfigManager extends ConfigManager {
|
||||
String sizePair = (String) arg;
|
||||
String[] split = sizePair.split("~", 2);
|
||||
MathValue<Player> min = MathValue.auto(split[0]);
|
||||
MathValue<Player> max = MathValue.auto(split[1]);
|
||||
MathValue<Player> max = split.length == 2 ? MathValue.auto(split[1]) : MathValue.auto(split[0]);
|
||||
return (item, context) -> {
|
||||
double minSize = min.evaluate(context);
|
||||
double maxSize = max.evaluate(context);
|
||||
|
||||
Reference in New Issue
Block a user