mirror of
https://github.com/GeorgH93/Minepacks.git
synced 2024-12-31 18:17:49 +01:00
Fix missing @Override annotations
This commit is contained in:
parent
bf946c6bca
commit
45b24f3115
@ -86,6 +86,7 @@ protected void loadSettings()
|
||||
UpdatePlayer = plugin.config.getUpdatePlayer();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void close()
|
||||
{
|
||||
dataSource.close();
|
||||
@ -246,6 +247,7 @@ protected void runStatement(final String query, final Object... args)
|
||||
}
|
||||
|
||||
// Plugin Functions
|
||||
@Override
|
||||
public void updatePlayer(final Player player)
|
||||
{
|
||||
if(useUUIDs)
|
||||
@ -258,6 +260,7 @@ public void updatePlayer(final Player player)
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void saveBackpack(final Backpack backpack)
|
||||
{
|
||||
final byte[] data = itsSerializer.serialize(backpack.getInventory());
|
||||
@ -383,6 +386,7 @@ public void run()
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public Backpack loadBackpack(OfflinePlayer player) // The sync function shouldn't be called at all
|
||||
{
|
||||
try(Connection connection = getConnection(); PreparedStatement ps = connection.prepareStatement(Query_GetBP))
|
||||
|
@ -45,8 +45,10 @@ protected void loadSettings()
|
||||
Field_Name = "name";
|
||||
Field_UUID = "uuid";
|
||||
Field_BPOwner = "owner";
|
||||
//noinspection SpellCheckingInspection
|
||||
Field_BPITS = "itemstacks";
|
||||
Field_BPVersion = "version";
|
||||
//noinspection SpellCheckingInspection
|
||||
Field_BPLastUpdate = "lastupdate";
|
||||
Table_Players = "backpack_players";
|
||||
Table_Backpacks = "backpacks";
|
||||
|
Loading…
Reference in New Issue
Block a user