isClientAdmin method

bool isClientAdmin(
  1. PlayerID? id
)

Returns whether the client by id is the admin

Implementation

bool isClientAdmin(PlayerID? id) => id == gameConfig.adminID;