Skip to content

Commit

Permalink
Update example plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
vyPal committed Jan 10, 2025
1 parent 2bc3f1e commit 7852a34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/hello-plugin-source/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ crate-type = ["cdylib"]

[dependencies]
pumpkin = { path = "../../pumpkin" }
pumpkin-core = { path = "../../pumpkin-core" }
pumpkin-util = { path = "../../pumpkin-util" }
pumpkin-protocol = { path = "../../pumpkin-protocol" }
pumpkin-api-macros = { path = "../../pumpkin-api-macros" }
serde = { version = "1.0", features = ["derive"] }
Expand Down
6 changes: 3 additions & 3 deletions plugins/hello-plugin-source/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ use pumpkin::plugin::player::PlayerJoinEvent;
use pumpkin::plugin::*;
use pumpkin::server::Server;
use pumpkin_api_macros::{plugin_impl, plugin_method, with_runtime};
use pumpkin_core::text::color::NamedColor;
use pumpkin_core::text::TextComponent;
use pumpkin_core::PermissionLvl;
use pumpkin_util::text::color::NamedColor;
use pumpkin_util::text::TextComponent;
use pumpkin_util::PermissionLvl;
use serde::{Deserialize, Serialize};
use std::fs;

Expand Down

0 comments on commit 7852a34

Please sign in to comment.