Fixed typo

This commit is contained in:
boy0001 2015-04-11 19:58:46 +10:00
parent b9abe5b5a8
commit da5db1678d
2 changed files with 2 additions and 2 deletions

View File

@ -709,7 +709,7 @@ public class PlotSquared {
final List<String> booleanFlags = Arrays.asList("notify-enter", "notify-leave", "item-drop", "invincible", "instabreak", "drop-protection", "forcefield", "titles", "pve", "pvp", "no-worldedit", "redstone");
final List<String> intervalFlags = Arrays.asList("feed", "heal");
final List<String> stringFlags = Arrays.asList("greeting", "farewell");
final List<String> intFlags = Arrays.asList("entity-cap", "animal-cap", "mop-cap");
final List<String> intFlags = Arrays.asList("entity-cap", "animal-cap", "mob-cap");
for (final String flag : stringFlags) {
FlagManager.addFlag(new AbstractFlag(flag));
}

View File

@ -812,7 +812,7 @@ public class PlayerEvents extends com.intellectualcrafters.plot.listeners.PlotLi
if (plot != null && plot.owner != null) {
Flag entityFlag = FlagManager.getPlotFlag(plot, "entity-cap");
Flag animalFlag = FlagManager.getPlotFlag(plot, "animal-cap");
Flag monsterFlag = FlagManager.getPlotFlag(plot, "mop-cap");
Flag monsterFlag = FlagManager.getPlotFlag(plot, "mob-cap");
if (!(entity instanceof Creature)) {
return;
}