mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-19 15:09:24 +00:00
Update BukkitRequirementManager.java
This commit is contained in:
@@ -788,7 +788,7 @@ public class BukkitRequirementManager implements RequirementManager<Player> {
|
||||
int max;
|
||||
try {
|
||||
min = Integer.parseInt(split[0]);
|
||||
max = Integer.parseInt(split[0]);
|
||||
max = Integer.parseInt(split[1]);
|
||||
} catch (NumberFormatException e) {
|
||||
plugin.getPluginLogger().warn("Invalid number format for range: " + depthRange, e);
|
||||
return Requirement.empty();
|
||||
|
||||
Reference in New Issue
Block a user