Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vbot cannot place block #5

Open
chrbinder opened this issue Nov 2, 2020 · 1 comment
Open

vbot cannot place block #5

chrbinder opened this issue Nov 2, 2020 · 1 comment

Comments

@chrbinder
Copy link

When running a vbot program with either of the place-block functions, no blocks are placed. Other functions are executed. I loaded the bot with dirt and sand blocks. The amount of items in the bot's inventory stays the same. On the first run of the vbot I get the following in the console:

2020-11-02 10:01:53: WARNING[Server]: Assignment to undeclared global "def" inside a function at ...5.3.0-dev-linux/bin/../mods/visual-bots/register_bot.lua:91.

This doesn't reappear when running the bot's code again.

@zeuner
Copy link

zeuner commented Jul 7, 2022

You might try my patch here: #7

It emerged a while ago as a result of some issues I had with vbot node placement. Maybe it does also help in your case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants