Merge pull request #821 from Fallen-Breath/hudcontroller-register-fix

Fixed missing static keyword at method HUDController.register
This commit is contained in:
gnembon authored and GitHub committed 2021-04-20 00:41:39 -03:00
commit de92d47f70
1 file changed
+1 -1
@@ -36,7 +36,7 @@ public class HUDController
* Adds listener to be called when HUD is updated for logging information * Adds listener to be called when HUD is updated for logging information
* @param listener - a method to be called when new HUD inforation are collected * @param listener - a method to be called when new HUD inforation are collected
*/ */
public void register(Consumer<MinecraftServer> listener) public static void register(Consumer<MinecraftServer> listener)
{ {
HUDListeners.add(listener); HUDListeners.add(listener);
} }