mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-23 17:09:26 +00:00
Fix Bukkit player getter (#33)
This commit is contained in:
@@ -17,10 +17,10 @@ index b02c2dbed413a06d01e41a3dbd1701d070c27d5b..7c90cc6ceedd4103c210757b2cc8a6ee
|
||||
MinecraftTimings.tickablesTimer.startTiming(); // Spigot // Paper
|
||||
for (int i = 0; i < this.tickables.size(); ++i) {
|
||||
diff --git a/src/main/java/net/minecraft/server/players/PlayerList.java b/src/main/java/net/minecraft/server/players/PlayerList.java
|
||||
index b4722632d7dccb8d9893cc81a95448339e87fdaf..3cc6351cf2d4b9102527e38e4ee895e7074ec076 100644
|
||||
index e78973ade9c934a6b8472ae83ff47bbf328996b4..023196e501f627621861851d3bcd7576d883994d 100644
|
||||
--- a/src/main/java/net/minecraft/server/players/PlayerList.java
|
||||
+++ b/src/main/java/net/minecraft/server/players/PlayerList.java
|
||||
@@ -352,6 +352,7 @@ public abstract class PlayerList {
|
||||
@@ -353,6 +353,7 @@ public abstract class PlayerList {
|
||||
top.leavesmc.leaves.protocol.PcaSyncProtocol.onJoin(player); // Leaves - pca
|
||||
top.leavesmc.leaves.protocol.BBORProtocol.onPlayerLoggedIn(player); // Leaves - bbor
|
||||
top.leavesmc.leaves.protocol.JadeProtocol.onPlayerJoin(player); // Leaves - Jade
|
||||
@@ -28,7 +28,7 @@ index b4722632d7dccb8d9893cc81a95448339e87fdaf..3cc6351cf2d4b9102527e38e4ee895e7
|
||||
|
||||
final net.kyori.adventure.text.Component jm = playerJoinEvent.joinMessage();
|
||||
|
||||
@@ -596,6 +597,7 @@ public abstract class PlayerList {
|
||||
@@ -597,6 +598,7 @@ public abstract class PlayerList {
|
||||
}
|
||||
public net.kyori.adventure.text.Component remove(ServerPlayer entityplayer, net.kyori.adventure.text.Component leaveMessage) {
|
||||
top.leavesmc.leaves.protocol.BBORProtocol.onPlayerLoggedOut(entityplayer); // Leaves - bbor
|
||||
@@ -37,7 +37,7 @@ index b4722632d7dccb8d9893cc81a95448339e87fdaf..3cc6351cf2d4b9102527e38e4ee895e7
|
||||
ServerLevel worldserver = entityplayer.getLevel();
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/craftbukkit/CraftServer.java b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
index 1353ac5ff7e881e2499e98e8bfc37c9a919d7e67..fb0164a3d77cf0b3042b8854c22b3b60292c1d4d 100644
|
||||
index 640bf562bc2b29bbba5375eea5bc4714b4bb9873..2a4c9ed93790a77b00dcc32996043f5a6304c09a 100644
|
||||
--- a/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
+++ b/src/main/java/org/bukkit/craftbukkit/CraftServer.java
|
||||
@@ -978,6 +978,13 @@ public final class CraftServer implements Server {
|
||||
|
||||
Reference in New Issue
Block a user