mirror of
https://github.com/Auxilor/EcoMobs.git
synced 2025-12-22 08:29:20 +00:00
Added immunity option loading
This commit is contained in:
@@ -211,7 +211,13 @@ public class EcoBoss extends PluginDependent {
|
|||||||
);
|
);
|
||||||
|
|
||||||
// Immunities
|
// Immunities
|
||||||
|
this.immunityOptions = new ImmunityOptions(
|
||||||
|
this.getConfig().getBool("defence.immunities.fire"),
|
||||||
|
this.getConfig().getBool("defence.immunities.suffocation"),
|
||||||
|
this.getConfig().getBool("defence.immunities.drowning"),
|
||||||
|
this.getConfig().getBool("defence.immunities.projectiles"),
|
||||||
|
this.getConfig().getBool("defence.immunities.explosion")
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
if (this.getConfig().getBool("enabled")) {
|
if (this.getConfig().getBool("enabled")) {
|
||||||
|
|||||||
Reference in New Issue
Block a user