Update more commands and add proper request timeouts

This commit is contained in:
Alexander Söderberg
2020-05-19 17:33:59 +02:00
parent 37b065a097
commit 123ca8efe9
13 changed files with 226 additions and 147 deletions

View File

@ -26,6 +26,7 @@
package com.plotsquared.bukkit.placeholder;
import com.plotsquared.core.PlotSquared;
import com.plotsquared.core.configuration.Settings;
import com.plotsquared.core.player.PlotPlayer;
import com.plotsquared.core.plot.Plot;
import me.clip.placeholderapi.PlaceholderAPIPlugin;
@ -123,7 +124,8 @@ public class Placeholders extends PlaceholderExpansion {
return "";
}
String name = PlotSquared.get().getImpromptuUUIDPipeline() .getSingle(uid, 5L);
String name = PlotSquared.get().getImpromptuUUIDPipeline() .getSingle(uid,
Settings.UUID.BLOCKING_TIMEOUT);
if (name != null) {
return name;