FallingBlock #144
@ -48,10 +48,6 @@ class TPSLimit_12 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void sendTickPackets() {
|
static void sendTickPackets() {
|
||||||
sendPacketsToPlayer(packets);
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void sendPacketsToPlayer(List<? extends Packet<?>> packets) {
|
|
||||||
Bukkit.getOnlinePlayers().forEach(player -> {
|
Bukkit.getOnlinePlayers().forEach(player -> {
|
||||||
PlayerConnection connection = ((CraftPlayer)player).getHandle().playerConnection;
|
PlayerConnection connection = ((CraftPlayer)player).getHandle().playerConnection;
|
||||||
for (Packet<?> p : packets) {
|
for (Packet<?> p : packets) {
|
||||||
|
@ -48,10 +48,6 @@ class TPSLimit_15 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void sendTickPackets() {
|
static void sendTickPackets() {
|
||||||
sendPacketsToPlayer(packets);
|
|
||||||
}
|
|
||||||
|
|
||||||
private static void sendPacketsToPlayer(List<? extends Packet<?>> packets) {
|
|
||||||
Bukkit.getOnlinePlayers().forEach(player -> {
|
Bukkit.getOnlinePlayers().forEach(player -> {
|
||||||
PlayerConnection connection = ((CraftPlayer)player).getHandle().playerConnection;
|
PlayerConnection connection = ((CraftPlayer)player).getHandle().playerConnection;
|
||||||
for (Packet<?> p : packets) {
|
for (Packet<?> p : packets) {
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren