#bug with player in crate
1 messages · Page 1 of 1 (latest)
your names are in spanish i cant understand it well, when coding you should always use english
normal(player);
what is this function?
can you add comments?
Can anyone help me please?
Remove const crate =... line
And edit
function normal(player) {
```into ```js
function normal(player, crate) {
Then use the function like```js
normal(player, entity)
That's not true at all. The strings are not obligated to be in English.
didnt meant the strings, i meant the code like if i assing instead of doing const player i do const giocatore in this case i used italian you wouldnt understand easily what im trying to get
@abstract sparrow what exactly is the problem, any error logs?
the changes you advised me to make, I tested them and they didn't change and the error still persists that when there are 3 players it crashes and doesn't give the item
cus the itemStack has to be assigned everytime?