Fixed NPE

This commit is contained in:
Norbi Peti 2016-11-03 18:05:40 +01:00
parent 254a0cdf10
commit f24d9ad9ac

View file

@ -12,9 +12,9 @@ public class UHCModule extends Module {
public UHCMatch match; public UHCMatch match;
public void register(JavaPlugin plugin) { public void register(JavaPlugin plugin) {
registerMemoryUnits(plugin);
registerCommands(plugin); registerCommands(plugin);
registerListeners(plugin); registerListeners(plugin);
registerMemoryUnits(plugin);
} }
private void registerListeners(JavaPlugin plugin) { private void registerListeners(JavaPlugin plugin) {