Skip to content

Commit

Permalink
Fix public with identifier rule
Browse files Browse the repository at this point in the history
  • Loading branch information
yanorei32 committed Jun 17, 2021
1 parent 5604062 commit ab62d62
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Instance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ public string IdWithoutWorldId {
for (int i = 0; i < ArgumentOrder.Length; i++ ) {
switch (ArgumentOrder[i]) {
case InstanceArgument.Region:
if (this.Permission == Permission.PublicWithIdentifier)
continue;

switch (this.Region) {
case ServerRegion.JP:
id += "~region(jp)";
Expand Down

0 comments on commit ab62d62

Please sign in to comment.