PlayerClass.server_onShapeRemoved
Called when the Player removed a Shape from the World.
Kind: Callback
Environments: Game
Game
Callback side: Server
PlayerClass:server_onShapeRemoved( items )
Will receive a table of tables listing the items removed by this action.
Element format:
| Type | Name | Description |
|---|---|---|
| Uuid | uuid | The item uuid. |
| integer | amount | The amount of items with this uuid. |
| string | type | Type of shape removed. Can be "part", "block" or "joint". |
Parameters:
| Name | Type | Description |
|---|---|---|
self |
table | The class instance. |
items |
table | A table listing the removed items. {{uuid=Uuid, amount=integer, type=string}, ..} |