mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-01-06 15:44:49 +08:00
Fixes lambda recognition in other places #425
This commit is contained in:
parent
67102f3c4a
commit
7857732b5d
@ -316,6 +316,7 @@ public class Analysis {
|
||||
|
||||
for (UUID uuid : playerCount.getUuids()) {
|
||||
boolean banned = banSources.stream().anyMatch(pluginData -> {
|
||||
StaticHolder.saveInstance(this.getClass(), plugin.getClass());
|
||||
try {
|
||||
Serializable value = pluginData.getValue(uuid);
|
||||
return value instanceof Boolean
|
||||
|
@ -1,7 +1,9 @@
|
||||
package main.java.com.djrapitops.plan.utilities.dump;
|
||||
|
||||
import com.djrapitops.plugin.StaticHolder;
|
||||
import com.djrapitops.plugin.api.utility.log.Log;
|
||||
import com.google.common.collect.Iterables;
|
||||
import main.java.com.djrapitops.plan.utilities.MiscUtils;
|
||||
import main.java.com.djrapitops.plan.utilities.file.dump.Hastebin;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
import org.json.simple.parser.ParseException;
|
||||
@ -35,6 +37,7 @@ public class HastebinTest {
|
||||
TestInit.init();
|
||||
|
||||
Thread thread = new Thread(() -> {
|
||||
StaticHolder.saveInstance(this.getClass(), MiscUtils.getIPlan().getClass());
|
||||
try {
|
||||
Hastebin.upload(RandomData.randomString(10));
|
||||
} catch (IOException e) {
|
||||
|
Loading…
Reference in New Issue
Block a user