3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-10-08 11:10:06 +02:00

Opps :) Github likes me :D Removed the new api methods from this branch :D

Dieser Commit ist enthalten in:
fillefilip8 2016-03-06 10:42:26 +01:00
Ursprung d7f54048ff
Commit d6403d495d

Datei anzeigen

@ -125,31 +125,6 @@ public class ViaVersionPlugin extends JavaPlugin implements ViaVersionAPI {
return this.debug; return this.debug;
} }
@Override
public Map<UUID, ConnectionInfo> getPortedPlayers() {
return Collections.unmodifiableMap(portedPlayers);
}
@Override
public List<UUID> getNonPortedPlayers() {
List<UUID> nonPortedPlayers = new ArrayList<UUID>();
for(Player p : Bukkit.getOnlinePlayers()){
if(!isPorted(p)){
nonPortedPlayers.add(p.getUniqueId());
}
}
return Collections.unmodifiableList(nonPortedPlayers);
}
@Override
public List<UUID> getPortedPlayersList() {
List<UUID> players = new ArrayList<UUID>();
for(UUID uuid : portedPlayers.keySet()){
players.add(uuid);
}
return Collections.unmodifiableList(players);
}
public void setDebug(boolean value) { public void setDebug(boolean value) {
this.debug = value; this.debug = value;
} }