Cleand up code, fixed unban

This commit is contained in:
hydrant
2018-09-30 00:46:16 +02:00
parent be028d5aab
commit 9b2a33d819
8 changed files with 193 additions and 235 deletions

View File

@@ -29,7 +29,7 @@ namespace reallife_gamemode.Server.Events
{
NAPI.Util.ConsoleOutput(player.Name + " Timeoutet");
}
/*
using (var saveUser = new Model.DatabaseContext())
{
var user = saveUser.Users.SingleOrDefault(u => u.Name == player.Name);
@@ -38,7 +38,7 @@ namespace reallife_gamemode.Server.Events
user.PositionY = player.Position.Y;
user.PositionZ = player.Position.Z;
saveUser.SaveChanges();
}*/
}
player.SetData("isLoggedIn", false);
}
}