diff options
author | snowleo <schneeleo@gmail.com> | 2012-10-03 18:16:01 +0200 |
---|---|---|
committer | snowleo <schneeleo@gmail.com> | 2012-10-03 18:16:01 +0200 |
commit | 4a1e26697edd5bd6e9a429efeb3db00ecdac2feb (patch) | |
tree | 5488b2148ee4e2c1cdfa7e7f3b1a8f782884dd07 /EssentialsProtect | |
parent | 58821791ff0b2f29f4ad421a0578876d826bd6ec (diff) | |
download | Essentials-4a1e26697edd5bd6e9a429efeb3db00ecdac2feb.tar Essentials-4a1e26697edd5bd6e9a429efeb3db00ecdac2feb.tar.gz Essentials-4a1e26697edd5bd6e9a429efeb3db00ecdac2feb.tar.lz Essentials-4a1e26697edd5bd6e9a429efeb3db00ecdac2feb.tar.xz Essentials-4a1e26697edd5bd6e9a429efeb3db00ecdac2feb.zip |
Cleanup
Diffstat (limited to 'EssentialsProtect')
3 files changed, 3 insertions, 14 deletions
diff --git a/EssentialsProtect/src/net/ess3/protect/EssentialsConnect.java b/EssentialsProtect/src/net/ess3/protect/EssentialsConnect.java index 96a161a5f..1c0130863 100644 --- a/EssentialsProtect/src/net/ess3/protect/EssentialsConnect.java +++ b/EssentialsProtect/src/net/ess3/protect/EssentialsConnect.java @@ -1,9 +1,9 @@ package net.ess3.protect; -import static net.ess3.I18n._; -import net.ess3.api.IEssentials; import java.util.logging.Level; import java.util.logging.Logger; +import static net.ess3.I18n._; +import net.ess3.api.IEssentials; import org.bukkit.plugin.Plugin; diff --git a/EssentialsProtect/src/net/ess3/protect/IProtect.java b/EssentialsProtect/src/net/ess3/protect/IProtect.java index 95af97402..de3dbc3fa 100644 --- a/EssentialsProtect/src/net/ess3/protect/IProtect.java +++ b/EssentialsProtect/src/net/ess3/protect/IProtect.java @@ -5,16 +5,8 @@ import org.bukkit.plugin.Plugin; public interface IProtect extends Plugin { -// boolean checkProtectionItems(final ProtectConfig list, final int id); -// boolean getSettingBool(final ProtectConfig protectConfig); -// String getSettingString(final ProtectConfig protectConfig); - - EssentialsConnect getEssentialsConnect(); -// Map<ProtectConfig, Boolean> getSettingsBoolean(); -// Map<ProtectConfig, String> getSettingsString(); -// Map<ProtectConfig, List<Integer>> getSettingsList(); ProtectHolder getSettings(); void setSettings(ProtectHolder settings); diff --git a/EssentialsProtect/src/net/ess3/protect/Permissions.java b/EssentialsProtect/src/net/ess3/protect/Permissions.java index 2a7db4130..ae900e6c5 100644 --- a/EssentialsProtect/src/net/ess3/protect/Permissions.java +++ b/EssentialsProtect/src/net/ess3/protect/Permissions.java @@ -4,14 +4,11 @@ import java.util.Locale; import net.ess3.api.IPermission; import net.ess3.bukkit.PermissionFactory; import org.bukkit.command.CommandSender; -import org.bukkit.permissions.Permission; import org.bukkit.permissions.PermissionDefault; public enum Permissions implements IPermission -{ - - ADMIN, +{ ENTITYTARGET(PermissionDefault.TRUE), PVP(PermissionDefault.TRUE), PREVENTDAMAGE_FALL(PermissionDefault.FALSE), |