DungeonsXL/core/src/main/java/de/erethon/dungeonsxl/command/DCommand.java

40 lines
1.2 KiB
Java
Raw Normal View History

/*
2023-09-28 19:16:23 +02:00
* Copyright (C) 2012-2023 Frank Baumann
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
2018-08-18 16:52:51 +02:00
package de.erethon.dungeonsxl.command;
2018-08-18 16:52:51 +02:00
import de.erethon.dungeonsxl.DungeonsXL;
import de.erethon.dungeonsxl.api.player.PlayerCache;
2018-08-18 16:52:51 +02:00
import de.erethon.dungeonsxl.config.MainConfig;
2022-04-03 18:09:12 +02:00
import de.erethon.bedrock.command.ECommand;
/**
* @author Daniel Saukel
*/
2022-04-03 18:09:12 +02:00
public abstract class DCommand extends ECommand {
2018-08-18 16:52:51 +02:00
protected DungeonsXL plugin;
protected MainConfig config;
protected PlayerCache dPlayers;
2018-08-18 16:52:51 +02:00
protected DCommand(DungeonsXL plugin) {
this.plugin = plugin;
config = plugin.getMainConfig();
dPlayers = plugin.getPlayerCache();
}
}