Merge pull request #821 from Fallen-Breath/hudcontroller-register-fix
Fixed missing static keyword at method HUDController.register
This commit is contained in:
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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user