MassiveCore - Editor Changes
This commit is contained in:
parent
df4c031842
commit
44d525446b
@ -886,8 +886,18 @@ public class BoardUtil extends Engine
|
|||||||
{
|
{
|
||||||
String id = getKey(key);
|
String id = getKey(key);
|
||||||
Team team = getTeam(board, id, false);
|
Team team = getTeam(board, id, false);
|
||||||
if (team == null && creative) team = createPersonalTeam(board, key);
|
if (team == null)
|
||||||
addTeamMember(team, key);
|
{
|
||||||
|
if (creative)
|
||||||
|
{
|
||||||
|
team = createPersonalTeam(board, key);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
addTeamMember(team, key);
|
||||||
|
}
|
||||||
|
|
||||||
return team;
|
return team;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user