21 lines
516 B
Java
21 lines
516 B
Java
/*
|
|
* Copyright (C) 2024 Minecon724
|
|
* Tweaks724 is licensed under the GNU General Public License. See the LICENSE.md file
|
|
* in the project root for the full license text.
|
|
*/
|
|
|
|
package eu.m724.tweaks.compass;
|
|
|
|
import org.bukkit.plugin.Plugin;
|
|
|
|
public class CompassManager {
|
|
private final Plugin plugin;
|
|
|
|
public CompassManager(Plugin plugin) {
|
|
this.plugin = plugin;
|
|
}
|
|
|
|
public void init() {
|
|
plugin.getServer().getPluginManager().registerEvents(new CompassListener(), plugin);
|
|
}
|
|
}
|