Re-enable mounts

This commit is contained in:
Sam 2017-02-26 17:14:21 +00:00
parent 0f30c58fe7
commit 2f08c031a4

View File

@ -5,18 +5,17 @@ import java.util.UUID;
import org.bukkit.Material; import org.bukkit.Material;
import org.bukkit.entity.EntityType; import org.bukkit.entity.EntityType;
import org.bukkit.entity.Horse; import org.bukkit.entity.Horse;
import org.bukkit.entity.Horse.Color;
import org.bukkit.entity.Horse.Style;
import org.bukkit.entity.LivingEntity; import org.bukkit.entity.LivingEntity;
import org.bukkit.entity.Player; import org.bukkit.entity.Player;
import org.bukkit.entity.Tameable; import org.bukkit.entity.Tameable;
import org.bukkit.entity.Horse.Color;
import org.bukkit.entity.Horse.Style;
import org.bukkit.event.EventHandler; import org.bukkit.event.EventHandler;
import org.bukkit.event.player.PlayerInteractEvent; import org.bukkit.event.player.PlayerInteractEvent;
import org.bukkit.inventory.ItemStack; import org.bukkit.inventory.ItemStack;
import mineplex.core.MiniClientPlugin; import mineplex.core.MiniClientPlugin;
import mineplex.core.ReflectivelyCreateMiniPlugin; import mineplex.core.ReflectivelyCreateMiniPlugin;
import mineplex.core.common.util.F;
import mineplex.core.common.util.UtilEvent; import mineplex.core.common.util.UtilEvent;
import mineplex.core.common.util.UtilEvent.ActionType; import mineplex.core.common.util.UtilEvent.ActionType;
import mineplex.core.gadget.GadgetManager; import mineplex.core.gadget.GadgetManager;
@ -93,8 +92,8 @@ public class MountModule extends MiniClientPlugin<MountData>
mountType = mount.getMountType(); mountType = mount.getMountType();
} }
player.sendMessage(F.main(_moduleName, "Mounts are currently disabled.")); //player.sendMessage(F.main(_moduleName, "Mounts are currently disabled."));
//spawnMount(player, mountType); spawnMount(player, mountType);
} }
public void spawnMount(Player player, MountType mountType) public void spawnMount(Player player, MountType mountType)