use of com.djrapitops.plan.extension.implementation.ProviderInformation in project Plan by plan-player-analytics.
the class DataValueGatherer method storePlayerDouble.
private void storePlayerDouble(Parameters parameters, Conditions conditions, DoubleDataValue data) {
ProviderInformation information = data.getInformation();
Double value = getValue(conditions, data, information);
if (value == null)
return;
Database db = dbSystem.getDatabase();
db.executeTransaction(new StoreIconTransaction(information.getIcon()));
db.executeTransaction(new StoreProviderTransaction(information, parameters));
db.executeTransaction(new StorePlayerDoubleResultTransaction(information, parameters, value));
}
Aggregations