public void RemovePlayer(DoorBlackList blacklist) { doorData.RemoveAll(x => x.x == blacklist.x && x.y == blacklist.y && x.z == blacklist.z); DoorBlackList.Save(doorData); }
public void AddPlayer(DoorBlackList blacklist) { doorData.Add(blacklist); DoorBlackList.Save(doorData); }