Jump to content

EntityMountEvent firing twice


Recommended Posts

Basically, i'm writing a mod that has to do something when you mount a horse. However, whenever the horse is mounted (or dismounted) it fires twice.

Here's my code: 

    public void mountEntity(EntityMountEvent event){
        Minecraft.getMinecraft().player.sendMessage(new TextComponentString("horse"));

I'm using 1.12.2 if that makes any difference

Link to comment
Share on other sites

  • Guest locked this topic
This topic is now closed to further replies.

  • Create New...

Important Information

By using this site, you agree to our Terms of Use.