Skip to content

Commit ab13796

Browse files
committed
Fix custom alias validation
1 parent 0cc2585 commit ab13796

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lifestream/Data/CustomAliasCommand.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ public unsafe bool CanExecute(out string error)
324324
}
325325
else if(this.Kind == CustomAliasKind.Change_world)
326326
{
327-
if(!S.Data.DataStore.Worlds.Contains(ExcelWorldHelper.GetName(this.World)) && !S.Data.DataStore.Worlds.Contains(ExcelWorldHelper.GetName(this.World)))
327+
if(!S.Data.DataStore.Worlds.Contains(ExcelWorldHelper.GetName(this.World)) && !S.Data.DataStore.DCWorlds.Contains(ExcelWorldHelper.GetName(this.World)))
328328
{
329329
error = $"Can not visit {ExcelWorldHelper.GetName(this.World)} from {Player.CurrentWorld}";
330330
return false;

0 commit comments

Comments
 (0)