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
2023-06-03 20:25:31 +08:00
parent 701dd9bdc7
commit 278cadd57f
17 changed files with 26 additions and 23 deletions

View File

@@ -4,7 +4,7 @@ plugins {
}
group = 'net.momirealms'
version = '1.3.1.2'
version = '1.3.1.3'
repositories {
maven {name = "aliyun-repo"; url = "https://maven.aliyun.com/repository/public/"}
@@ -23,7 +23,6 @@ repositories {
dependencies {
compileOnly fileTree(dir:'libs',includes:['*.jar'])
implementation fileTree(dir:'libs',includes:['BiomeAPI.jar'])
compileOnly('com.comphenix.protocol:ProtocolLib:5.0.0-SNAPSHOT')
compileOnly('dev.folia:folia-api:1.19.4-R0.1-SNAPSHOT')
compileOnly('com.zaxxer:HikariCP:5.0.1')
compileOnly('com.github.Archy-X:AureliumSkills:Beta1.3.6')

Binary file not shown.

View File

@@ -1 +0,0 @@
https://www.spigotmc.org/resources/1-8-1-19-3-%E2%AD%90-battlepass-%E2%AD%90-unlimited-practical-customizable-quests-%E2%9A%94%EF%B8%8F-30-sale.63076/

View File

@@ -1 +0,0 @@
https://www.spigotmc.org/resources/%E2%AD%90-cluescrolls-%E2%AD%90-%E2%95%91-1-8-to-1-19-250-clue-types-new-default-config-rewards.30276/

Binary file not shown.

Binary file not shown.

View File

@@ -1 +0,0 @@
https://www.spigotmc.org/resources/mmocore.70575/

View File

@@ -1 +0,0 @@
https://www.spigotmc.org/resources/mmoitems-premium.39267/

Binary file not shown.

BIN
libs/MythicLib-1.5.2.jar Normal file

Binary file not shown.

View File

@@ -1 +0,0 @@
https://www.spigotmc.org/resources/realisticseasons-1-16-3-1-19-2-seasons-in-your-minecraft-world-with-temperature-and-calendar.93275/

View File

@@ -1 +0,0 @@
https://www.spigotmc.org/resources/official-mcmmo-original-author-returns.64348/

View File

@@ -1 +0,0 @@
https://www.spigotmc.org/resources/%E2%9C%85-10-%E2%98%84%EF%B8%8F-oraxen-add-items-blocks-armors-hats-food-furnitures-plants-and-sellFishGui.72448/

11
libs/premiumlibs.txt Normal file
View File

@@ -0,0 +1,11 @@
You have to get these premium jars before building this project.
AdvancedEnchantments-9.0.0b76
battle-pass-3.13.7
ClueScrolls-4.8.6
EcoSkills v3.0.0-b2
mcMMO
MMOCore-1.11.3
MMOItems-6.9.3
oraxen-1.155.0
RealisticSeasons-10.4.3

View File

@@ -202,6 +202,7 @@ public final class CustomFishing extends JavaPlugin {
public void reload() {
ConfigManager.load();
MessageManager.load();
getScheduler().reload();
getDataManager().unload();
getDataManager().load();
getEffectManager().unload();
@@ -226,7 +227,6 @@ public final class CustomFishing extends JavaPlugin {
getBagDataManager().load();
getStatisticsManager().unload();
getStatisticsManager().load();
getScheduler().reload();
}
public static BukkitAudiences getAdventure() {

View File

@@ -42,26 +42,27 @@ import java.util.concurrent.TimeUnit;
public class BobberCheckTask implements Runnable {
private final ScheduledFuture<?> bobberTask;
private final FishHook fishHook;
private final CustomFishing plugin;
private int timer;
private final ScheduledFuture<?> bobberTask;
private ScheduledFuture<?> getHookedTask;
private ScheduledFuture<?> resetTask;
private final FishHook fishHook;
private final Player player;
private final Effect effect;
private final String rod;
private final String bait;
private final FishingManager fishingManager;
private boolean hooked;
private boolean reserve;
private int jump_timer;
private final int lureLevel;
private ScheduledFuture<?> getHookedTask;
private ScheduledFuture<?> resetTask;
private LavaEffect lavaEffect;
private ArmorStand hookedEntity;
private final int entityID;
private boolean land;
private boolean first;
private final String rod;
private final String bait;
private int timer;
private int jump_timer;
private final int entityID;
private final int lureLevel;
private LavaEffect lavaEffect;
private ArmorStand hookedEntity;
public BobberCheckTask(CustomFishing plugin, Player player, Effect effect, FishHook fishHook, FishingManager fishingManager, int lureLevel, int entityID, String rod, String bait) {
this.fishHook = fishHook;

View File

@@ -43,7 +43,6 @@ public class Scheduler extends Function {
}
public void reload() {
this.schedule.getQueue().clear();
this.schedule.setCorePoolSize(ConfigManager.corePoolSize);
this.schedule.setMaximumPoolSize(ConfigManager.maximumPoolSize);
this.schedule.setKeepAliveTime(ConfigManager.keepAliveTime, TimeUnit.SECONDS);