geforkt von Mirrors/Paper
Filter ip address on join if setting is true (#6748)
Dieser Commit ist enthalten in:
Ursprung
1bd2f3e523
Commit
1dd5b0ab8e
@ -93,3 +93,12 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Spigot start - spawn location event
|
// Spigot start - spawn location event
|
||||||
|
@@ -0,0 +0,0 @@ public abstract class PlayerList {
|
||||||
|
playerconnection.playerJoinReady = () -> {
|
||||||
|
postChunkLoadJoin(
|
||||||
|
player, finalWorldserver, connection, playerconnection,
|
||||||
|
- nbttagcompound, connection.getRemoteAddress().toString(), lastKnownName
|
||||||
|
+ nbttagcompound, com.destroystokyo.paper.PaperConfig.logPlayerIpAddresses ? connection.getRemoteAddress().toString() : "<ip address withheld>", lastKnownName // Paper
|
||||||
|
);
|
||||||
|
};
|
||||||
|
});
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren