File tree Expand file tree Collapse file tree
src/main/java/fr/sandro642/github/hook Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public boolean isMCProject() {
3333 * @param plugin Le plugin Minecraft à définir.
3434 * @return L'instance du plugin définie.
3535 */
36- private Plugin setPluginVariable (Plugin plugin ) {
36+ public Plugin setPluginVariable (Plugin plugin ) {
3737 if (isMCProject ()) {
3838 return pluginSingleton = plugin ;
3939 } else {
@@ -46,7 +46,7 @@ private Plugin setPluginVariable(Plugin plugin) {
4646 * Elle doit être appelée dans un projet Minecraft pour récupérer le chemin du dossier de données du plugin.
4747 * @return Le chemin du dossier de données du plugin.
4848 */
49- private String getPluginPath () {
49+ public String getPluginPath () {
5050 if (isMCProject ()) {
5151 if (pluginSingleton == null ) {
5252 throw new IllegalStateException ("Plugin variable is not set. Please call setPluginVariable first." );
You can’t perform that action at this time.
0 commit comments