From e7dc6bd2c2dbf6a486318bc6fcf2735eb76e467a Mon Sep 17 00:00:00 2001 From: Magnus Ulf Date: Tue, 14 Jan 2020 16:00:41 +0100 Subject: [PATCH] Add natural spawn reasons for illagers --- src/com/massivecraft/factions/engine/EngineFlagSpawn.java | 4 +++- src/com/massivecraft/factions/util/EnumerationUtil.java | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/com/massivecraft/factions/engine/EngineFlagSpawn.java b/src/com/massivecraft/factions/engine/EngineFlagSpawn.java index 1632a22b..a2def31d 100644 --- a/src/com/massivecraft/factions/engine/EngineFlagSpawn.java +++ b/src/com/massivecraft/factions/engine/EngineFlagSpawn.java @@ -38,7 +38,9 @@ public class EngineFlagSpawn extends Engine "MOUNT", "REINFORCEMENTS", "VILLAGE_DEFENSE", - "VILLAGE_INVASION" + "VILLAGE_INVASION", + "RAID", + "PATROL" ); // -------------------------------------------- // diff --git a/src/com/massivecraft/factions/util/EnumerationUtil.java b/src/com/massivecraft/factions/util/EnumerationUtil.java index f30a708d..6f5d2e0d 100644 --- a/src/com/massivecraft/factions/util/EnumerationUtil.java +++ b/src/com/massivecraft/factions/util/EnumerationUtil.java @@ -21,7 +21,7 @@ public class EnumerationUtil "COMPOSTER", // Minecraft 1.14 "LECTERN", // Minecraft 1.14 "BEEHIVE", // Minecraft 1.15 - "BEE_NEST" // Miecraft 1.15 + "BEE_NEST" ); public static boolean isMaterialEditOnInteract(Material material)