From f24d9ad9ac03482594311cb5a471c2d15545ad30 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Thu, 3 Nov 2016 18:05:40 +0100 Subject: [PATCH] Fixed NPE --- src/alisolarflare/events/uhc/UHCModule.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alisolarflare/events/uhc/UHCModule.java b/src/alisolarflare/events/uhc/UHCModule.java index 0b0dd41..7d3b750 100644 --- a/src/alisolarflare/events/uhc/UHCModule.java +++ b/src/alisolarflare/events/uhc/UHCModule.java @@ -12,9 +12,9 @@ public class UHCModule extends Module { public UHCMatch match; public void register(JavaPlugin plugin) { + registerMemoryUnits(plugin); registerCommands(plugin); registerListeners(plugin); - registerMemoryUnits(plugin); } private void registerListeners(JavaPlugin plugin) {