mirror of
https://gitlab.com/phoenix-dvpmt/mmocore.git
synced 2024-11-24 00:15:16 +01:00
Fixed default configs
This commit is contained in:
parent
8d416dbdef
commit
0c789c8154
@ -5,13 +5,13 @@ import java.util.List;
|
||||
import java.util.Set;
|
||||
import java.util.logging.Level;
|
||||
|
||||
import net.Indyuce.mmocore.api.droptable.condition.Condition;
|
||||
import net.Indyuce.mmocore.api.droptable.condition.ConditionInstance;
|
||||
import org.apache.commons.lang.Validate;
|
||||
import org.bukkit.configuration.ConfigurationSection;
|
||||
import org.bukkit.inventory.ItemStack;
|
||||
|
||||
import net.Indyuce.mmocore.MMOCore;
|
||||
import net.Indyuce.mmocore.api.droptable.condition.Condition;
|
||||
import net.Indyuce.mmocore.api.droptable.condition.ConditionInstance;
|
||||
import net.Indyuce.mmocore.api.droptable.dropitem.DropItem;
|
||||
import net.Indyuce.mmocore.api.loot.LootBuilder;
|
||||
import net.mmogroup.mmolib.api.MMOLineConfig;
|
||||
@ -86,11 +86,9 @@ public class DropTable extends PostLoadObject {
|
||||
}
|
||||
|
||||
public boolean areConditionsMet(ConditionInstance entity) {
|
||||
for (Condition condition : this.getConditions()) {
|
||||
if (!condition.isMet(entity)) {
|
||||
for (Condition condition : conditions)
|
||||
if (!condition.isMet(entity))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
@ -56,6 +56,7 @@ custom-mine-conditions:
|
||||
protect-custom-mine: false
|
||||
|
||||
loot-chests:
|
||||
|
||||
# Time in seconds it takes for a loot chest to
|
||||
# expire after it was spawned. 600 is 10 minutes.
|
||||
chest-expire-time: 600
|
||||
|
@ -172,8 +172,8 @@ items:
|
||||
- '&7&ogreatly encourages you!'
|
||||
- ''
|
||||
- '&7Party Bonuses ({count}):'
|
||||
- '&8- +{buff_additional_experience} Experience Earned!'
|
||||
- '&8- +{buff_health_regeneration} Health Regeneration'
|
||||
- '&8- +{buff_additional_experience}% Experience Earned!'
|
||||
- '&8- +{buff_health_regeneration}% Health Regeneration'
|
||||
stats:
|
||||
slots: [15]
|
||||
function: profile
|
||||
|
Loading…
Reference in New Issue
Block a user