Skip to content

Commit 8bb7bb8

Browse files
committed
Update README with method override
1 parent 437f32b commit 8bb7bb8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ public class ExamplePlugin extends JavaPlugin {
110110
getLogger().info(String.format("[%s] Disabled Version %s", getDescription().getName(), getDescription().getVersion()));
111111
}
112112

113+
@Override
113114
public boolean onCommand(CommandSender sender, Command command, String commandLabel, String[] args) {
114115
if (!(sender instanceof Player player)) {
115116
getLogger().info("Only players are supported for this Example Plugin, but you should not do this!!!");

0 commit comments

Comments
 (0)