mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2025-01-21 09:21:21 +01:00
Made the DeathDowngrading API methods public and static, as they were intended to be.
This commit is contained in:
parent
2e204a8fc6
commit
e84e47205f
@ -123,7 +123,7 @@ public class DeathDowngrading {
|
||||
*
|
||||
* @return The same list of items... but some of them possibly downgraded.
|
||||
*/
|
||||
@NotNull ArrayList<ItemStack> downgradeItems(@NotNull List<ItemStack> allItems, @NotNull Player player, double deathChance) {
|
||||
@NotNull public static ArrayList<ItemStack> downgradeItems(@NotNull List<ItemStack> allItems, @NotNull Player player, double deathChance) {
|
||||
|
||||
// List of result and downgrade
|
||||
ArrayList<ItemStack> result = new ArrayList<>();
|
||||
@ -256,7 +256,7 @@ public class DeathDowngrading {
|
||||
*
|
||||
* @return The death downgrade chance of the player
|
||||
*/
|
||||
public double getDeathDowngradeChance(@NotNull Player player) {
|
||||
public static double getDeathDowngradeChance(@NotNull Player player) {
|
||||
|
||||
// Get Player
|
||||
PlayerData data = PlayerData.get(player);
|
||||
|
Loading…
Reference in New Issue
Block a user