Signed-off-by: Chaoscaot <chaoscaot444@gmail.com>
Dieser Commit ist enthalten in:
Ursprung
7a78fa9d63
Commit
83d7a4c988
@ -19,7 +19,6 @@
|
||||
|
||||
package de.steamwar.util;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import de.steamwar.inventory.*;
|
||||
import de.steamwar.sql.SchematicNode;
|
||||
import de.steamwar.sql.SchematicType;
|
||||
@ -30,6 +29,7 @@ import org.bukkit.entity.Player;
|
||||
|
||||
import java.text.MessageFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Collections;
|
||||
import java.util.List;
|
||||
import java.util.function.Consumer;
|
||||
@ -146,7 +146,7 @@ public class SchematicSelector {
|
||||
});
|
||||
if(!node.isDir()) {
|
||||
if(node.getRank() > 0)
|
||||
item.setLore(Lists.newArrayList("§7" + node.getSchemtype().name(), "§8Rang " + node.getRank()));
|
||||
item.setLore(Arrays.asList("§7" + node.getSchemtype().name(), "§8Rang " + node.getRank()));
|
||||
}
|
||||
list.add(new SWListInv.SWListEntry<>(item, node));
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren