mirror of
https://github.com/songoda/UltimateModeration.git
synced 2024-11-23 02:35:27 +01:00
Fix for NPE
This commit is contained in:
parent
7d8b0dcaf4
commit
a7fa2151a0
@ -38,7 +38,7 @@ public class GUITicketManager extends AbstractGUI {
|
|||||||
this.plugin = plugin;
|
this.plugin = plugin;
|
||||||
this.toModerate = toModerate;
|
this.toModerate = toModerate;
|
||||||
|
|
||||||
init(plugin.getLocale().getMessage(toModerate != null ? "gui.tickets.titlesingle" : "gui.tickets.title", toModerate.getName()), 54);
|
init(plugin.getLocale().getMessage(toModerate != null ? "gui.tickets.titlesingle" : "gui.tickets.title", toModerate != null ? toModerate.getName() : ""), 54);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user