haus system auf core geändert

This commit is contained in:
hydrant
2020-03-29 12:18:17 +02:00
parent 6bd3d4a3d0
commit bcfc2105ea
68 changed files with 1366 additions and 810 deletions

View File

@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Text;
using ReallifeGamemode.Server.Core.API;
using ReallifeGamemode.Server.Core.Extensions;
namespace ReallifeGamemode.Server.Core.Commands.User
{
@@ -9,7 +10,7 @@ namespace ReallifeGamemode.Server.Core.Commands.User
{
public override bool CanExecute(IPlayer player)
{
return player.GetSharedData("loggedIn", false);
return player.IsLoggedIn();
}
}
}