9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-19 15:09:24 +00:00
This commit is contained in:
XiaoMoMi
2024-12-22 16:08:01 +08:00
parent 163d237641
commit 0297a301c5
3 changed files with 15 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ public class ShopGUICFItemProvider extends ItemProvider implements Listener {
@Override
public ItemStack loadItem(ConfigurationSection configurationSection) {
String id = configurationSection.getString("customfishing");
String id = configurationSection.getString("customFishing");
if (id == null) return null;
return plugin.getItemManager().buildInternal(Context.player(null).arg(ContextKeys.ID, id), id);
}

View File

@@ -368,21 +368,30 @@ mechanics:
fishing-wait-time:
# Toggle to override vanilla fishing wait times
override-vanilla: false
# Wait time in ticks
# By default, the plugin will pick a random value from the maximum and minimum time for waiting time
min-wait-time: 100
max-wait-time: 600
# The minimum and maximum waiting time after applying the effects
final-min-wait-time: 50
final-max-wait-time: 1200
# Lava fishing settings
lava-fishing:
enable: true
# Wait time in ticks
## By default, the plugin will pick a random value from the maximum and minimum time for waiting time
min-wait-time: 100
max-wait-time: 600
# The minimum and maximum waiting time after applying the effects
final-min-wait-time: 50
final-max-wait-time: 1200
# Void fishing settings
void-fishing:
enable: true
# Wait time in ticks
# By default, the plugin will pick a random value from the maximum and minimum time for waiting time
min-wait-time: 100
max-wait-time: 600
# The minimum and maximum waiting time after applying the effects
final-min-wait-time: 50
final-max-wait-time: 1200
# Size configuration
size:
# Prevent certain effects from breaking the size limits

View File

@@ -1,7 +1,7 @@
# Project settings
# Rule: [major update].[feature update].[bug fix]
project_version=2.2.35
config_version=37
project_version=2.2.36
config_version=38
project_group=net.momirealms
# Supported languages