mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-23 12:06:15 +01:00
rename
This commit is contained in:
parent
e2f372927d
commit
e50608009b
@ -676,7 +676,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");
|
||||
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", "hostile-cap");
|
||||
final List<String> intFlags = Arrays.asList("entity-cap", "animal-cap", "mop-cap");
|
||||
for (final String flag : stringFlags) {
|
||||
FlagManager.addFlag(new AbstractFlag(flag));
|
||||
}
|
||||
|
@ -710,7 +710,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, "hostile-cap");
|
||||
Flag monsterFlag = FlagManager.getPlotFlag(plot, "mop-cap");
|
||||
if (!(entity instanceof Creature)) {
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user