Improve house system

This commit is contained in:
hydrant
2019-07-30 13:18:09 +02:00
parent 29d15976b2
commit 6cd026f390
3 changed files with 4 additions and 5 deletions

View File

@@ -278,6 +278,8 @@ namespace ReallifeGamemode.Server.Managers
dbContext.HouseRentals.Remove(rental);
dbContext.SaveChanges();
target.Client?.SendNotification($"~y~{player.Name}~s~ hat deinen Mietvertrag ~g~gekündigt~s~.");
player.SendNotification("Du hast dem Spieler ~y~" + target.Name + "~s~ den Mietvertrag gekündigt.");
SendClientHouseData(player, house);
}