Jump to content

Player disappears when trying to do action

Recommended Posts

I was trying to write a mod to make players chop/mine ... while riding on a beefalo. Here is a Github link. https://github.com/Ps-Pencil/WorkOnBeefalo 

As of now, it doesn't have much code. All I did is this.

for k, v in pairs(ACTIONS) do

This works for picking up things. However, for chopping/mining/digging ..., the player would disappear into the entity it tries to work. When an arrow key is pressed, the player exits from the entity. 

I used "Console Pro" to log the actions and saw that no action is being registered at that moment. 

Anyone know why? 

Edited by pspencil
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...