8000 Even more code review · CommandAPI/CommandAPI@c3ff409 · GitHub
[go: up one dir, main page]

Skip to content

Commit c3ff409

Browse files
Even more code review
Co-authored-by: willkroboth <46540330+willkroboth@users.noreply.github.com>
1 parent d4cc664 commit c3ff409

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

commandapi-platforms/commandapi-bukkit/commandapi-bukkit-plugin-mojang-mapped/src/main/java/dev/jorel/commandapi/CommandAPIMain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void onLoad() {
5252
.dispatcherFile(fileConfig.getBoolean("create-dispatcher-json") ? new File(getDataFolder(), "command_registration.json") : null)
5353
.shouldHookPaperReload(fileConfig.getBoolean("hook-paper-reload"))
5454
.skipReloadDatapacks(fileConfig.getBoolean("skip-initial-datapack-reload"))
55-
.beLenientForMinorVersions(fileConfig.getBoolean("lenient-for-minor-versions"));
55+
.beLenientForMinorVersions(fileConfig.getBoolean("be-lenient-for-minor-versions"));
5656

5757
for (String pluginName : fileConfig.getStringList("skip-sender-proxy")) {
5858
if (Bukkit.getPluginManager().getPlugin(pluginName) != null) {

commandapi-platforms/commandapi-bukkit/commandapi-bukkit-plugin/src/main/java/dev/jorel/commandapi/CommandAPIMain.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public void onLoad() {
5252
.dispatcherFile(fileConfig.getBoolean("create-dispatcher-json") ? new File(getDataFolder(), "command_registration.json") : null)
5353
.shouldHookPaperReload(fileConfig.getBoolean("hook-paper-reload"))
5454
.skipReloadDatapacks(fileConfig.getBoolean("skip-initial-datapack-reload"))
55-
.beLenientForMinorVersions(fileConfig.getBoolean("lenient-for-minor-versions"));
55+
.beLenientForMinorVersions(fileConfig.getBoolean("be-lenient-for-minor-versions"));
5656

5757
for (String pluginName : fileConfig.getStringList("skip-sender-proxy")) {
5858
if (Bukkit.getPluginManager().getPlugin(pluginName) != null) {

commandapi-platforms/commandapi-bukkit/commandapi-bukkit-test/commandapi-bukkit-test-tests/src/test/java/dev/jorel/commandapi/CommandAPIVersionHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ private static boolean isMojangMapped() {
4646
static LoadContext getPlatform() {
4747
if(profileId == null) {
4848
System.out.println("Using default version 1.19.4");
49-
return new LoadContext(new MockNMS(new NMS_1_19_4_R3()), () -> {});
49+
return new LoadContext(new MockNMS(new NMS_1_19_4_R3()));
5050
} else {
5151
return new LoadContext(new MockNMS(switch(profileId) {
5252
case "Minecraft_1_20_5" -> new NMS_1_20_R4();

0 commit comments

Comments
 (0)
0