mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-24 03:35:11 +01:00
Made BentoBox#logWarning(String) evaluating lazily the parameter
This commit is contained in:
parent
bfad54b7e3
commit
9af389ce1d
@ -328,7 +328,7 @@ public class BentoBox extends JavaPlugin {
|
||||
}
|
||||
|
||||
public void logWarning(String warning) {
|
||||
getLogger().warning(warning);
|
||||
getLogger().warning(() -> warning);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user