Skip to content

Commit

Permalink
First attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerS1066 committed Aug 11, 2024
1 parent 0c4f7af commit a53cfa4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Movecraft/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ hangarPublish {
platforms {
register(io.papermc.hangarpublishplugin.model.Platforms.PAPER) {
jar.set(tasks.shadowJar.flatMap { it.archiveFile })
platformVersions.set(listOf("1.18.2", "1.20.6", "1.21"))
platformVersions.set(listOf("1.18.2", "1.20.6", "1.21.1"))
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion v1_21/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ java.toolchain.languageVersion = JavaLanguageVersion.of(21)

dependencies {
api(project(":movecraft-api"))
paperweight.paperDevBundle("1.21-R0.1-SNAPSHOT")
paperweight.paperDevBundle("1.21.1-R0.1-SNAPSHOT")
}

description = "Movecraft-v1_21"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class IWorldHandler extends WorldHandler {

public IWorldHandler() {
String version = Bukkit.getServer().getMinecraftVersion();
if (!version.equals("1.21"))
if (!version.equals("1.21.1"))
throw new IllegalStateException("Movecraft is not compatible with this version of Minecraft: " + version);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* Code derived from code taken with permission from MicleBrick
* https://www.spigotmc.org/threads/teleport-player-smoothly.317416/
* Used for 1.21
* Used for 1.21.1
*/
public class ISmoothTeleport extends SmoothTeleport {
private final Field teleportPosField;
Expand Down

0 comments on commit a53cfa4

Please sign in to comment.