Skip to content

Commit

Permalink
インスタンス格納+クラス名修正
Browse files Browse the repository at this point in the history
  • Loading branch information
Arisa9006 committed Nov 16, 2024
1 parent 618c2c4 commit 33738da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class betterstorage extends JavaPlugin {
public static final String PLUGIN_ID = "betterstorage";
public final class BetterStorage extends JavaPlugin {
public static BetterStorage BSPlugin; //プラグインのインスタンス

@Override
public void onEnable() {
BSPlugin = this;
initEventListeners();
//SQLiteに接続
//MariaDBデータベースに接続
Expand Down
8 changes: 0 additions & 8 deletions src/main/java/felnull/dev/Listeners/CommonListener.java
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
package felnull.dev.Listeners;

import felnull.dev.betterstorage;
import org.bukkit.Bukkit;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.EventPriority;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerInteractEvent;

public class CommonListener implements Listener {

Expand Down

0 comments on commit 33738da

Please sign in to comment.