Make sure license and check player bucket#676
Make sure license and check player bucket#676nurrifqialhusaini wants to merge 8 commits intoQbox-project:mainfrom
Conversation
Make check if bucket is 0 and using ternary operator
|
I see this both useless
|
|
@Frowmza maybe someone wanna go back to bucket 0 and just destroy source from QBX.Player_Buckets ... |
|
Then just check if bucket is 0 then destroy the data, i don't see why we need to allow bucket to be nil. Also, as i said we don't need that identifiers check, it will be never be nil. |
|
thats why im using ternary operator for checking bucket 0 |
|
you're not listening, what I'm trying to clarify, that bucket shouldn't be nil, so if it nil we simply would return. If it passed as 0 then we reset and destroy |
|
@Frowmza So you mean there should be a check to ensure bucket is not nil? |
|
This will also be a breaking change. However, if |
|
@Frowmza Ahhh, I see, the data. Okay, I'll wait for the team's response.. 👍 |

Description
server/events.luajust make sure the license its not nil (just make sure)server/functions.luacheck if bucket is 0 and using ternary operatorChecklist