mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-06 04:23:02 +00:00
Allow joinList to understand Collections.
This commit is contained in:
parent
e5435f24db
commit
57a0ec9912
2 changed files with 4 additions and 4 deletions
|
@ -376,9 +376,9 @@ public class Util
|
|||
buf.append(seperator);
|
||||
}
|
||||
|
||||
if (each instanceof List)
|
||||
if (each instanceof Collection)
|
||||
{
|
||||
buf.append(joinList(seperator, ((List)each).toArray()));
|
||||
buf.append(joinList(seperator, ((Collection)each).toArray()));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue