Project-Sloth / ps-realtor

ps-realtor for ps-housing

Home Page:https://discord.com/projectsloth

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Assign apartment issue

Ghostttie opened this issue · comments

Describe the bug
When using the realtor ui and trying to assign an apartment to a PlayerID nothing happens, upon checking the serverside we have this error being thrown.
[ script:ps-housing] SCRIPT ERROR: @ps-housing/server/server.lua:205: attempt to get length of a nil value (field 'apartment') [ script:ps-housing] > handler (@ps-realtor/server/server.lua:41)

To Reproduce
Steps to reproduce the behaviour:

  1. /housing
  2. Click on Apartments
  3. Select Apartment
  4. Type PlayerID & click Add
  5. See server console for error

Screenshots
image
image

Closing this due to posting in wrong repo