mirror of
https://github.com/Xiao-MoMi/Custom-Fishing.git
synced 2025-12-19 15:09:24 +00:00
Switched EcoSkills to jitpack rather than direct jar dependency (why?)
And micro codestyle
This commit is contained in:
@@ -57,6 +57,7 @@ dependencies {
|
|||||||
implementation('net.kyori:adventure-text-minimessage:4.11.0')
|
implementation('net.kyori:adventure-text-minimessage:4.11.0')
|
||||||
implementation('net.kyori:adventure-text-serializer-legacy:4.11.0')
|
implementation('net.kyori:adventure-text-serializer-legacy:4.11.0')
|
||||||
implementation('de.tr7zw:item-nbt-api:2.10.0')
|
implementation('de.tr7zw:item-nbt-api:2.10.0')
|
||||||
|
compileOnly('com.willfp:EcoSkills:1.72.0')
|
||||||
}
|
}
|
||||||
|
|
||||||
def targetJavaVersion = 16
|
def targetJavaVersion = 16
|
||||||
|
|||||||
10
gradlew
vendored
10
gradlew
vendored
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
#
|
#
|
||||||
# Copyright ? 2015-2021 the original authors.
|
# Copyright © 2015-2021 the original authors.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
# you may not use this file except in compliance with the License.
|
# you may not use this file except in compliance with the License.
|
||||||
@@ -32,10 +32,10 @@
|
|||||||
# Busybox and similar reduced shells will NOT work, because this script
|
# Busybox and similar reduced shells will NOT work, because this script
|
||||||
# requires all of these POSIX shell features:
|
# requires all of these POSIX shell features:
|
||||||
# * functions;
|
# * functions;
|
||||||
# * expansions ?$var?, ?${var}?, ?${var:-default}?, ?${var+SET}?,
|
# * expansions «$var», «${var}», «${var:-default}», «${var+SET}»,
|
||||||
# ?${var#prefix}?, ?${var%suffix}?, and ?$( cmd )?;
|
# «${var#prefix}», «${var%suffix}», and «$( cmd )»;
|
||||||
# * compound commands having a testable exit status, especially ?case?;
|
# * compound commands having a testable exit status, especially «case»;
|
||||||
# * various built-in commands including ?command?, ?set?, and ?ulimit?.
|
# * various built-in commands including «command», «set», and «ulimit».
|
||||||
#
|
#
|
||||||
# Important for patching:
|
# Important for patching:
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ import com.willfp.ecoskills.api.EcoSkillsAPI;
|
|||||||
import com.willfp.ecoskills.skills.Skills;
|
import com.willfp.ecoskills.skills.Skills;
|
||||||
import org.bukkit.entity.Player;
|
import org.bukkit.entity.Player;
|
||||||
|
|
||||||
public class EcoSkill implements SkillXP{
|
public class EcoSkill implements SkillXP {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void addXp(Player player, double amount) {
|
public void addXp(Player player, double amount) {
|
||||||
|
|||||||
Reference in New Issue
Block a user