We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14dcd4c commit 410fd97Copy full SHA for 410fd97
1 file changed
src/lib.rs
@@ -17,16 +17,15 @@ pub use modules::*;
17
use crate::module::Module;
18
use crate::motd::Motd;
19
use crate::player::Player;
20
-use pumpkin_plugin_api::{Context, PluginMetadata};
+use pumpkin_plugin_api::{Context, Plugin, PluginMetadata};
21
use tracing::info;
22
23
pub const PLUGIN_ID: &str = "pumpkinplus";
24
25
-/// IllyriaPlus plugin implementation.
+/// PumpkinPlus plugin implementation.
26
pub struct PumpkinPlus {}
27
28
-#[allow(dead_code)]
29
-impl PumpkinPlus {
+impl Plugin for PumpkinPlus {
30
fn new() -> Self {
31
PumpkinPlus {}
32
}
@@ -52,3 +51,5 @@ impl PumpkinPlus {
52
51
Ok(())
53
54
+
55
+pumpkin_plugin_api::register_plugin!(PumpkinPlus);
0 commit comments