mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-03 19:15:44 +00:00
Add debug message in EssentialsSign.
This commit is contained in:
parent
d174cea42e
commit
864dadab80
1 changed files with 3 additions and 0 deletions
|
@ -45,6 +45,9 @@ public class EssentialsSign {
|
|||
final SignCreateEvent signEvent = new SignCreateEvent(sign, this, user);
|
||||
ess.getServer().getPluginManager().callEvent(signEvent);
|
||||
if (signEvent.isCancelled()) {
|
||||
if (ess.getSettings().isDebug()) {
|
||||
ess.getLogger().info("SignCreateEvent cancelled for sign " + signEvent.getEssentialsSign().getName());
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue