Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-18 20:40:08 +01:00
Added player.saveData and player.loadData.
Dieser Commit ist enthalten in:
Ursprung
5a04262051
Commit
0f3f3c552a
@ -39,7 +39,7 @@ public class ServerConfigurationManager {
|
||||
private File k;
|
||||
private File l;
|
||||
private File m;
|
||||
private PlayerFileData n;
|
||||
public PlayerFileData n; // CraftBukkit - private->public
|
||||
private boolean o;
|
||||
|
||||
// CraftBukkit start
|
||||
|
@ -201,6 +201,14 @@ public class CraftPlayer extends CraftHumanEntity implements Player {
|
||||
return getHandle().Z();
|
||||
}
|
||||
|
||||
public void loadData() {
|
||||
server.getHandle().n.b(getHandle());
|
||||
}
|
||||
|
||||
public void saveData() {
|
||||
server.getHandle().n.a(getHandle());
|
||||
}
|
||||
|
||||
public void updateInventory() {
|
||||
getHandle().m();
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren