Made BentoBox#logWarning(String) evaluating lazily the parameter

This commit is contained in:
Florian CUNY 2019-01-22 14:18:06 +01:00
parent bfad54b7e3
commit 9af389ce1d

View File

@ -328,7 +328,7 @@ public class BentoBox extends JavaPlugin {
}
public void logWarning(String warning) {
getLogger().warning(warning);
getLogger().warning(() -> warning);
}
/**