Skip to content

Commit

Permalink
build 16.5.29
Browse files Browse the repository at this point in the history
  • Loading branch information
PMFRTT committed Mar 30, 2021
1 parent cb44e07 commit a4d094e
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>Bingo</groupId>
<artifactId>Bingo</artifactId>
<version>16.5.24-pre1</version>
<version>16.5.29</version>
<packaging>jar</packaging>

<name>Bingo</name>
Expand Down
1 change: 1 addition & 0 deletions src/main/java/bingo/BingoPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ public void onEnable() {
Objects.requireNonNull(getCommand("Bingo")).setExecutor(bingoCommandExecutor);
Objects.requireNonNull(getCommand("Top")).setExecutor(topCommandExecutor);
Objects.requireNonNull(getCommand("reset")).setExecutor(resetCommandExecutor);
Objects.requireNonNull(getCommand("rtp")).setExecutor(bingoCommandExecutor);

BukkitScheduler scheduler1 = getServer().getScheduler();

Expand Down
8 changes: 6 additions & 2 deletions src/main/java/bingo/commandExecutor/BingoCommandExecutor.java
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import org.bukkit.entity.Player;
import org.bukkit.scheduler.BukkitScheduler;
import core.Utils;

import java.util.Collection;

public class BingoCommandExecutor implements CommandExecutor {
Expand Down Expand Up @@ -41,17 +42,20 @@ public boolean onCommand(CommandSender sender, Command command, String label, St
if (args[0].equalsIgnoreCase("settings")) {
if (BingoPlugin.getTimer().isPaused() || player.isOp()) {
player.openInventory(main.getBingoSettings().getSettingsInventory().getInventory());
}else{
} else {
player.sendMessage(Utils.getPrefix("Bingo") + Utils.colorize("Du kannst die &cEinstellungen nicht mehr ändern&f, wenn das Bingo gestartet wurde!"));
}
} else if (args[0].equalsIgnoreCase("start")) {
main.startBingo();
}else if(args[0].equalsIgnoreCase("clear")){
} else if (args[0].equalsIgnoreCase("clear")) {
BingoPlugin.getTimer().pause();
BingoList.getBingoList().clear();
BingoList.playerBingoLists.clear();
}
}
} else if (command.getLabel().equalsIgnoreCase("rtp")) {

return false;
}

return false;
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/bingo/teleporter/Teleporter.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package bingo.teleporter;

public class Teleporter {
}
11 changes: 11 additions & 0 deletions src/main/java/bingo/teleporter/TeleporterTimer.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package bingo.teleporter;

import core.timer.Timer;
import core.timer.TimerType;
import org.bukkit.plugin.Plugin;

public class TeleporterTimer extends Timer {
public TeleporterTimer(Plugin plugin, TimerType timerType, String runningString, String pausedString, boolean hidden) {
super(plugin, timerType, runningString, pausedString, hidden);
}
}
1 change: 1 addition & 0 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ commands:
Bingo:
Reset:
Top:
RPT:
depend: [Core]

0 comments on commit a4d094e

Please sign in to comment.