mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2026-01-04 15:41:38 +00:00
修改队伍包发送方式
This commit is contained in:
@@ -3,15 +3,16 @@ package net.momirealms.craftengine.core.world.score;
|
||||
import net.momirealms.craftengine.core.plugin.Manageable;
|
||||
import net.momirealms.craftengine.core.util.LegacyChatFormatter;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Locale;
|
||||
|
||||
public interface TeamManager extends Manageable {
|
||||
|
||||
Object getTeamByColor(LegacyChatFormatter color);
|
||||
|
||||
Object addTeamsPacket();
|
||||
|
||||
static String createTeamName(LegacyChatFormatter color) {
|
||||
return "ce_" + color.name().toLowerCase(Locale.ROOT);
|
||||
}
|
||||
|
||||
List<Object> addTeamsPackets();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user