diff options
author | Jake Potrebic <[email protected]> | 2024-03-03 12:54:52 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-03-03 12:54:52 -0800 |
commit | 880fef77ab7a1be609ed747c2dad74261aeea435 (patch) | |
tree | afbe237b30b2590dbf524231231153f03c49667c /patches/api/0166-Add-APIs-to-replace-OfflinePlayer-getLastPlayed.patch | |
parent | ce5c8dd379faa1a9bf413481269a6ddf816c049c (diff) | |
download | Paper-880fef77ab7a1be609ed747c2dad74261aeea435.tar.gz Paper-880fef77ab7a1be609ed747c2dad74261aeea435.zip |
Deprecate extra ban methods with raw BanEntry (#9580)
Diffstat (limited to 'patches/api/0166-Add-APIs-to-replace-OfflinePlayer-getLastPlayed.patch')
-rw-r--r-- | patches/api/0166-Add-APIs-to-replace-OfflinePlayer-getLastPlayed.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/api/0166-Add-APIs-to-replace-OfflinePlayer-getLastPlayed.patch b/patches/api/0166-Add-APIs-to-replace-OfflinePlayer-getLastPlayed.patch index 1c79ffb48e..dd625f4153 100644 --- a/patches/api/0166-Add-APIs-to-replace-OfflinePlayer-getLastPlayed.patch +++ b/patches/api/0166-Add-APIs-to-replace-OfflinePlayer-getLastPlayed.patch @@ -16,10 +16,10 @@ intent to remove) and replace it with two new methods, clearly named and documented as to their purpose. diff --git a/src/main/java/org/bukkit/OfflinePlayer.java b/src/main/java/org/bukkit/OfflinePlayer.java -index d8a3b6cb2d0cb035b2ab09e0327bc4f0be457ff7..634629d8c591d0477dfa6af91fa99caf17ffa9b0 100644 +index ef85e57f812c501fac7abe7dd27c93702f66646f..f5d3e5c5d79910580b6202e7aee01341d09f6225 100644 --- a/src/main/java/org/bukkit/OfflinePlayer.java +++ b/src/main/java/org/bukkit/OfflinePlayer.java -@@ -211,7 +211,9 @@ public interface OfflinePlayer extends ServerOperator, AnimalTamer, Configuratio +@@ -223,7 +223,9 @@ public interface OfflinePlayer extends ServerOperator, AnimalTamer, Configuratio * UTC. * * @return Date of last log-in for this player, or 0 @@ -29,7 +29,7 @@ index d8a3b6cb2d0cb035b2ab09e0327bc4f0be457ff7..634629d8c591d0477dfa6af91fa99caf public long getLastPlayed(); /** -@@ -234,6 +236,30 @@ public interface OfflinePlayer extends ServerOperator, AnimalTamer, Configuratio +@@ -246,6 +248,30 @@ public interface OfflinePlayer extends ServerOperator, AnimalTamer, Configuratio @Nullable @Deprecated public Location getBedSpawnLocation(); |