mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-29 16:46:45 +01:00
Fixed typo
This commit is contained in:
parent
b9abe5b5a8
commit
da5db1678d
@ -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));
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user