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

Исправлена проверка в lua функции SetItem \ Fixed check in lua function SetItem #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Viptunbeqwfwew
Copy link

По исключению "Unknown error" было невозможно понять, что необходимо было передавать адрес базы данных (адрес адаптера со вставленым UpgradeDatabase). В свою очередь, "Unknown error" вызывалась из-за попытки получить Environment через "host()", из объекта, который чаще всего оказывался null. \ Based on the "Unknown error" exception, it was impossible to understand that it was necessary to transmit the database address (the address of the adapter with the UpgradeDatabase inserted). In turn, "Unknown error" was caused due to an attempt to get an Environment via "host()", from an object that most often turned out to be null.

А всё из-за того, что интуитивно хочется передать внутрь не адрес, а название предмета по типу "minecraft:diamond". \ And all because I intuitively want to transfer not an address, but the name of an item like “minecraft:diamond”.

Исключение что шло после ввода не адреса, давало исключение "Unknown error". \ The exception that occurred after entering a non-address gave an "Unknown error" exception.

Переводчик Google: рус -> англ \ Google Translate: rus -> eng

…ри попытки получить Environment через "host()". \ Fixed checked in SetItem. "Unknown error" when retrieving environment via "host()" is now resolved.
@Dream-Master Dream-Master requested a review from a team November 16, 2024 11:05
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

Successfully merging this pull request may close these issues.

1 participant