formatted code

This commit is contained in:
Lennart Kampshoff
2019-05-05 17:59:11 +02:00
parent a34c03eae9
commit a88d5256a8
54 changed files with 290 additions and 210 deletions

View File

@@ -12,7 +12,7 @@ using System.Text;
namespace ReallifeGamemode.Server.Inventory.Items
{
public class Cheeseburger : FoodItem
{
{
public override int Id => 2;
public override string Name => "Cheeseburger";
public override string Description => "Wie der Hamburger, nur mit Käse.";

View File

@@ -24,7 +24,7 @@ namespace ReallifeGamemode.Server.Inventory.Items
Client player = uItem.GetUser().Client;
int amountToAdd = HpAmount;
if(player.Health + amountToAdd > 100)
if (player.Health + amountToAdd > 100)
{
amountToAdd = 100 - player.Health;
}

View File

@@ -10,7 +10,7 @@ using System.Text;
*/
namespace ReallifeGamemode.Server.Inventory.Items
{
{
public class Holz : IDroppableItem
{
public int Id => 4;