8000 Merge pull request #627 from CommandAPI/dev/fix-additional-parameter · CommandAPI/CommandAPI@25c5080 · GitHub
[go: up one dir, main page]

Skip to content

Commit 25c5080

Browse files
authored
Merge pull request #627 from CommandAPI/dev/fix-additional-parameter
Fixes reloadDataPacks() on Paper 1.21.4 build 63 and above
2 parents 692eea1 + 8047c7e commit 25c5080

File tree

108 files changed

+186
-142
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

108 files changed

+186
-142
lines changed

Doxyfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ PROJECT_NAME = CommandAPI
3838
# could be handy for archiving the generated documentation or if some version
3939
# control system is used.
4040

41-
PROJECT_NUMBER = 9.7.0
41+
PROJECT_NUMBER = 9.7.1-SNAPSHOT
4242

4343
# Using the PROJECT_BRIEF tag one can provide an optional one line description
4444
# for a project that appears at the top of each page and should give viewer a

commandapi-annotations/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<parent>
1919
<groupId>dev.jorel</groupId>
2020
<artifactId>commandapi</artifactId>
21-
<version>9.7.0</version>
21+
<version>9.7.1-SNAPSHOT</version>
2222
</parent>
2323

2424
<artifactId>commandapi-annotations</artifactId>

commandapi-codecov/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<groupId>dev.jorel</groupId>
2222
<artifactId>commandapi</artifactId>
23-
<version>9.7.0</version>
23+
<version>9.7.1-SNAPSHOT</version>
2424
</parent>
2525

2626
<artifactId>commandapi-codecov</artifactId>

commandapi-core/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>commandapi</artifactId>
2121
<groupId>dev.jorel</groupId>
22-
<version>9.7.0</version>
22+
<version>9.7.1-SNAPSHOT</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

commandapi-core/src/main/java/dev/jorel/commandapi/CommandAPI.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,17 @@ public static void logError(String message) {
222222
getLogger().severe(message);
223223
}
224224

225+
/**
226+
* Logs an exception from the CommandAPI. This always gets logged, even if silent
227+
* logs are enabled.
228+
*
229+
* @param message the message to log as an error
230+
* @param throwable the exception that was thrown before calling this method
231+
*/
232+
public static void logException(String message, Throwable throwable) {
233+
getLogger().severe(message, throwable);
234+
}
235+
225236
/**
226237
* Reloads all the datapacks that are on the server. This should be used if
227238
* you change a datapack and want to reload a server. Execute this method after

commandapi-documentation-code/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<artifactId>commandapi</artifactId>
99
<groupId>dev.jorel</groupId>
10-
<version>9.7.0</version>
10+
<version>9.7.1-SNAPSHOT</version>
1111
</parent>
1212

1313
<artifactId>commandapi-documentation-code</artifactId>

commandapi-documentation-velocity-code/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>dev.jorel</groupId>
88
<artifactId>commandapi</artifactId>
9-
<version>9.7.0</version>
9+
<version>9.7.1-SNAPSHOT</version>
1010
</parent>
1111

1212
<artifactId>commandapi-documentation-velocity-code</artifactId>

commandapi-kotlin/commandapi-bukkit-kotlin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>dev.jorel</groupId>
99
<artifactId>commandapi-kotlin</artifactId>
10-
<version>9.7.0</version>
10+
<version>9.7.1-SNAPSHOT</version>
1111
</parent>
1212

1313
<artifactId>commandapi-bukkit-kotlin</artifactId>

commandapi-kotlin/commandapi-core-kotlin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>dev.jorel</groupId>
99
<artifactId>commandapi-kotlin</artifactId>
10-
<version>9.7.0</version>
10+
<version>9.7.1-SNAPSHOT</version>
1111
</parent>
1212

1313
<artifactId>commandapi-core-kotlin</artifactId>

commandapi-kotlin/commandapi-velocity-kotlin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>dev.jorel</groupId>
99
<artifactId>commandapi-kotlin</artifactId>
10-
<version>9.7.0</version>
10+
<version>9.7.1-SNAPSHOT</version>
1111
</parent>
1212

1313
<artifactId>commandapi-velocity-kotlin</artifactId>

0 commit comments

Comments
 (0)
0