Remove unnecessary import
Dieser Commit ist enthalten in:
Ursprung
2efd9bb99f
Commit
2a9a9c4cf0
@ -43,18 +43,10 @@ index 3b13d7b760ac2df6e21c0ac7064fae8240866399..450a9336a8a39a4ace147c73f82f9281
|
|||||||
this.server.getPluginManager().callEvent(new ServerLoadEvent(ServerLoadEvent.LoadType.STARTUP));
|
this.server.getPluginManager().callEvent(new ServerLoadEvent(ServerLoadEvent.LoadType.STARTUP));
|
||||||
this.connection.acceptConnections();
|
this.connection.acceptConnections();
|
||||||
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
|
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
|
||||||
index b74689297ca20efee391fe1da80377082d1758e5..64be8c7b88b958a31ada6e8c7ef6fc368af2125e 100644
|
index b74689297ca20efee391fe1da80377082d1758e5..34b10814b94fb3fd22f96988c74be434e41058fb 100644
|
||||||
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
|
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
|
||||||
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
|
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
|
||||||
@@ -100,6 +100,7 @@ import net.minecraft.world.phys.Vec3;
|
@@ -156,6 +156,7 @@ public abstract class PlayerList {
|
||||||
import net.minecraft.world.scores.DisplaySlot;
|
|
||||||
import net.minecraft.world.scores.Objective;
|
|
||||||
import net.minecraft.world.scores.PlayerTeam;
|
|
||||||
+import net.minecraft.world.scores.Team;
|
|
||||||
import org.slf4j.Logger;
|
|
||||||
|
|
||||||
// CraftBukkit start
|
|
||||||
@@ -156,6 +157,7 @@ public abstract class PlayerList {
|
|
||||||
// CraftBukkit start
|
// CraftBukkit start
|
||||||
private CraftServer cserver;
|
private CraftServer cserver;
|
||||||
private final Map<String,ServerPlayer> playersByName = new java.util.HashMap<>();
|
private final Map<String,ServerPlayer> playersByName = new java.util.HashMap<>();
|
||||||
@ -62,7 +54,7 @@ index b74689297ca20efee391fe1da80377082d1758e5..64be8c7b88b958a31ada6e8c7ef6fc36
|
|||||||
|
|
||||||
public PlayerList(MinecraftServer server, LayeredRegistryAccess<RegistryLayer> registryManager, PlayerDataStorage saveHandler, int maxPlayers) {
|
public PlayerList(MinecraftServer server, LayeredRegistryAccess<RegistryLayer> registryManager, PlayerDataStorage saveHandler, int maxPlayers) {
|
||||||
this.cserver = server.server = new CraftServer((DedicatedServer) server, this);
|
this.cserver = server.server = new CraftServer((DedicatedServer) server, this);
|
||||||
@@ -398,6 +400,13 @@ public abstract class PlayerList {
|
@@ -398,6 +399,13 @@ public abstract class PlayerList {
|
||||||
|
|
||||||
player.initInventoryMenu();
|
player.initInventoryMenu();
|
||||||
// CraftBukkit - Moved from above, added world
|
// CraftBukkit - Moved from above, added world
|
||||||
@ -76,7 +68,7 @@ index b74689297ca20efee391fe1da80377082d1758e5..64be8c7b88b958a31ada6e8c7ef6fc36
|
|||||||
PlayerList.LOGGER.info("{}[{}] logged in with entity id {} at ([{}]{}, {}, {})", player.getName().getString(), s1, player.getId(), worldserver1.serverLevelData.getLevelName(), player.getX(), player.getY(), player.getZ());
|
PlayerList.LOGGER.info("{}[{}] logged in with entity id {} at ([{}]{}, {}, {})", player.getName().getString(), s1, player.getId(), worldserver1.serverLevelData.getLevelName(), player.getX(), player.getY(), player.getZ());
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -521,6 +530,16 @@ public abstract class PlayerList {
|
@@ -521,6 +529,16 @@ public abstract class PlayerList {
|
||||||
entityplayer.doTick(); // SPIGOT-924
|
entityplayer.doTick(); // SPIGOT-924
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
|
||||||
@ -93,7 +85,7 @@ index b74689297ca20efee391fe1da80377082d1758e5..64be8c7b88b958a31ada6e8c7ef6fc36
|
|||||||
this.save(entityplayer);
|
this.save(entityplayer);
|
||||||
if (entityplayer.isPassenger()) {
|
if (entityplayer.isPassenger()) {
|
||||||
Entity entity = entityplayer.getRootVehicle();
|
Entity entity = entityplayer.getRootVehicle();
|
||||||
@@ -1161,6 +1180,13 @@ public abstract class PlayerList {
|
@@ -1161,6 +1179,13 @@ public abstract class PlayerList {
|
||||||
}
|
}
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren