Skip to content
This repository has been archived by the owner on Nov 3, 2024. It is now read-only.

Commit

Permalink
Dependabot
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchroneyes committed Sep 20, 2021
1 parent f9373bd commit 052ad1e
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 11 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions MineralContest.iml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<orderEntry type="library" scope="PROVIDED" name="Maven: net.md-5:bungeecord-chat:1.16-R0.3" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.yaml:snakeyaml:1.26" level="project" />
<orderEntry type="library" name="Maven: commons-io:commons-io:2.7" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.10" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.12" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.5.13" level="project" />
<orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.4.13" level="project" />
<orderEntry type="library" name="Maven: commons-logging:commons-logging:1.2" level="project" />
<orderEntry type="library" name="Maven: commons-codec:commons-codec:1.11" level="project" />
<orderEntry type="library" scope="PROVIDED" name="Maven: org.projectlombok:lombok:1.18.12" level="project" />
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.10</version>
<version>[4.5.13,)</version>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ public void onPluginLoaded(MCWorldLoadedEvent worldLoadedEvent) {
shoudDisablePlugin = false;
break;
}
} else {
shoudDisablePlugin = false;
}


Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package fr.synchroneyes.mineral.Commands;

import fr.synchroneyes.custom_events.MCArenaChestSpawnEvent;
import fr.synchroneyes.groups.Core.Groupe;
import fr.synchroneyes.mineral.Core.Game.Game;
import fr.synchroneyes.mineral.Translation.Lang;
import fr.synchroneyes.mineral.mineralcontest;
import org.bukkit.Bukkit;
import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;
Expand Down Expand Up @@ -35,6 +37,9 @@ public boolean onCommand(CommandSender commandSender, Command command, String s,
if (partie.isGameStarted()) {
try {
partie.getArene().getCoffre().spawn();

MCArenaChestSpawnEvent mcArenaChestSpawnEvent = new MCArenaChestSpawnEvent(partie);
Bukkit.getPluginManager().callEvent(mcArenaChestSpawnEvent);
} catch (Exception e) {
e.printStackTrace();
}
Expand Down

0 comments on commit 052ad1e

Please sign in to comment.