Skip to content

Conversation

@FlorianLeChat
Copy link
Contributor

Error trace:

[ERROR] gamemodes/nutscript/entities/weapons/nut_hands.lua:620: attempt to index global 'ent' (a nil value)
  1. allowEntityDrop - gamemodes/nutscript/entities/weapons/nut_hands.lua:620
   2. drop - gamemodes/nutscript/entities/weapons/nut_hands.lua:223
    3. doPickup - gamemodes/nutscript/entities/weapons/nut_hands.lua:465
     4. unknown - gamemodes/nutscript/entities/weapons/nut_hands.lua:417

Introduced since f1d7174#diff-7ab1cbc4dc8a07aef8065e4e182f8c2873e732fe9f419d626f517c52ec139f5e

Error trace:

[ERROR] gamemodes/nutscript/entities/weapons/nut_hands.lua:620: attempt to index global 'ent' (a nil value)
  1. allowEntityDrop - gamemodes/nutscript/entities/weapons/nut_hands.lua:620
   2. drop - gamemodes/nutscript/entities/weapons/nut_hands.lua:223
    3. doPickup - gamemodes/nutscript/entities/weapons/nut_hands.lua:465
     4. unknown - gamemodes/nutscript/entities/weapons/nut_hands.lua:417
@TovarischPootis
Copy link
Contributor

I've come across this bug myself at one point, that was when I tried to drop an item while in noclip. Is this the same case for you or was this present in another scenario?

Additionally, please make a commit to the 1.2.2-wip branch, as the 1.2 branch is our release version

@FlorianLeChat FlorianLeChat changed the base branch from 1.2 to 1.2.2-wip April 19, 2021 12:05
@FlorianLeChat
Copy link
Contributor Author

I've come across this bug myself at one point, that was when I tried to drop an item while in noclip. Is this the same case for you or was this present in another scenario?

This is exactly the same case yes. My admins encounter it many times since I updated the gamemode.

Additionally, please make a commit to the 1.2.2-wip branch, as the 1.2 branch is our release version

Done!

ent was not defined and as such always nil. Most likely a typo
@TovarischPootis TovarischPootis merged commit eef7545 into NutScript:1.2.2-wip Apr 19, 2021
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.

2 participants