some Testing with Blockdisplays
This commit is contained in:
@ -1,7 +1,11 @@
|
||||
package eu.mhsl.minecraft.pixelblocks;
|
||||
|
||||
import commands.ChessCommand;
|
||||
import listeners.PlayerJumpListener;
|
||||
import org.bukkit.plugin.java.JavaPlugin;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
public final class PixelBlocks extends JavaPlugin {
|
||||
public static PixelBlocks plugin;
|
||||
|
||||
@ -9,6 +13,8 @@ public final class PixelBlocks extends JavaPlugin {
|
||||
public void onEnable() {
|
||||
PixelBlocks.plugin = this;
|
||||
this.getLogger().info("Hello World");
|
||||
getServer().getPluginManager().registerEvents(new PlayerJumpListener(), this);
|
||||
Objects.requireNonNull(getCommand("chess")).setExecutor(new ChessCommand());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user