SteamWar/SpigotCore
Archiviert
13
0

Update CommonCore
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful

Dieser Commit ist enthalten in:
Lixfel 2024-02-17 08:31:23 +01:00
Ursprung b4ba508cec
Commit 0db2bee5c9
2 geänderte Dateien mit 1 neuen und 16 gelöschten Zeilen

@ -1 +1 @@
Subproject commit 61ffbc2349bf2290b1e4f04f699d8002742fe642
Subproject commit bfc72ddcb77199bbb8eb19bdfc50744f7234745a

Datei anzeigen

@ -38,19 +38,6 @@ import java.util.function.Function;
public class RPlayer extends REntity {
/*
private static final String SCOREBOARD_TEAMNAME = "Replay";
private static final Team team;
static {
if(FightScoreboard.getBukkit().getTeam(SCOREBOARD_TEAMNAME) == null)
team = FightScoreboard.getBukkit().registerNewTeam(SCOREBOARD_TEAMNAME);
else
team = FightScoreboard.getBukkit().getTeam(SCOREBOARD_TEAMNAME);
team.setNameTagVisibility(NameTagVisibility.NEVER);
}
*/
private static int skinPartsIndex() {
switch(Core.getVersion()) {
case 8:
@ -79,7 +66,6 @@ public class RPlayer extends REntity {
public RPlayer(REntityServer server, UUID uuid, String name, Location location) {
super(server, EntityType.PLAYER, uuid, location,0);
this.name = name;
//team.addEntry(name);
server.addEntity(this);
}
@ -98,7 +84,6 @@ public class RPlayer extends REntity {
@Override
void despawn(Consumer<Object> packetSink) {
//team.removeEntry(name);
super.despawn(packetSink);
packetSink.accept(ProtocolWrapper.impl.playerInfoPacketConstructor(ProtocolWrapper.PlayerInfoAction.REMOVE, new GameProfile(uuid, name), GameMode.CREATIVE));
}