WorldGaurd Typo-Fix (/lcr command)
This commit is contained in:
parent
93ee72e2c6
commit
a622d4e405
4 changed files with 5 additions and 3 deletions
|
@ -47,7 +47,7 @@ public class RegionsCommand extends BukkitCommand implements IHelpDescribed {
|
|||
public RegionsCommand(ModRegions mod) {
|
||||
this();
|
||||
this.mod = mod;
|
||||
this.wg = (WorldGuardPlugin) mod.getPlugin().getServer().getPluginManager().getPlugin("WorldGaurd");
|
||||
this.wg = (WorldGuardPlugin) mod.getPlugin().getServer().getPluginManager().getPlugin(WorldGuardIntegration.PLUGIN_NAME);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -9,6 +9,7 @@ import de.jaschastarke.minecraft.limitedcreative.regions.worldguard.ApplicableRe
|
|||
import de.jaschastarke.minecraft.limitedcreative.regions.worldguard.FlagList;
|
||||
|
||||
public class WorldGuardIntegration implements IWorldGuardIntegration {
|
||||
public static final String PLUGIN_NAME = "WorldGuard";
|
||||
private ModRegions mod;
|
||||
|
||||
public WorldGuardIntegration(ModRegions mod) {
|
||||
|
|
|
@ -40,6 +40,7 @@ import com.sk89q.worldguard.protection.managers.RegionManager;
|
|||
import com.sk89q.worldguard.protection.regions.ProtectedRegion;
|
||||
|
||||
import de.jaschastarke.minecraft.limitedcreative.ModRegions;
|
||||
import de.jaschastarke.minecraft.limitedcreative.regions.WorldGuardIntegration;
|
||||
import de.jaschastarke.utils.StringUtil;
|
||||
|
||||
public class CustomRegionManager {
|
||||
|
@ -153,7 +154,7 @@ public class CustomRegionManager {
|
|||
}
|
||||
|
||||
private WorldGuardPlugin getWorldGuard() {
|
||||
return ((WorldGuardPlugin) mod.getPlugin().getServer().getPluginManager().getPlugin("WorldGuard"));
|
||||
return ((WorldGuardPlugin) mod.getPlugin().getServer().getPluginManager().getPlugin(WorldGuardIntegration.PLUGIN_NAME));
|
||||
}
|
||||
|
||||
public GlobalRegionManager getWGGlobalManager() {
|
||||
|
|
|
@ -22,7 +22,7 @@ command.worldguard.available_flags: Verf
|
|||
command.worldguard.region_not_found: Konnte keine Region mit dieser ID finden
|
||||
command.worldguard.world_not_found: Konnte keine Welt mit diesem namen finden
|
||||
command.worldguard.flag_set: Das Attribut {0} wurde gesetzt
|
||||
command.worldguard.additional_flags: Zusätzliche Attribute:
|
||||
command.worldguard.additional_flags: Zusätzliche Attribute:
|
||||
|
||||
command.blockstate: LimitedCreative-BlockStatus-Kommando: Ändern der BlockStatus Datenbank um Beute aus den ausgewählten Blöcken zu verhindern (benötigt WorldEdit)
|
||||
command.blockstate.requires_worldedit: Dieser Befehl benötigt WorldEdit
|
||||
|
|
Loading…
Reference in a new issue