Skip to content

Commit e3af8e7

Browse files
committed
build: 25w41a
1 parent faa3409 commit e3af8e7

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
4242
- name: upload to modrinth and curseforge
4343
run: ./gradlew modrinth publishMainPublicationToCurseForge
44-
if: github.ref == 'refs/heads/dev/1.21.10'
44+
if: github.ref == 'refs/heads/dev/1.21.11'
4545
env:
4646
MODRINTH_TOKEN: ${{ secrets.MODRINTH_UPLOAD_TOKEN }}
4747
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_API_TOKEN }}

c2me-server-utils/src/main/java/com/ishland/c2me/server/utils/common/C2MECommands.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class C2MECommands {
1616
public static void register(CommandDispatcher<ServerCommandSource> dispatcher) {
1717
dispatcher.register(
1818
CommandManager.literal("c2me")
19-
.requires(source -> source.hasPermissionLevel(2))
19+
.requires(CommandManager.requirePermissionLevel(CommandManager.field_31839))
2020
.then(
2121
CommandManager.literal("notick")
2222
.requires(unused -> com.ishland.c2me.notickvd.ModuleEntryPoint.enabled)

gradle.properties

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ gradle-curseforge-publish.interop.neogradle=false
1111
#org.gradle.configuration-cache=true
1212
# Fabric Properties
1313
# check these on https://fabricmc.net/versions.html
14-
minecraft_version=1.21.10
15-
yarn_mappings=1.21.10+build.1
16-
loader_version=0.17.2
14+
minecraft_version=25w41a
15+
yarn_mappings=25w41a+build.1
16+
loader_version=0.17.3
1717
fabric_version=0.134.0+1.21.9
1818
# Mod Properties
1919
mod_version=0.3.6+alpha.0

tests/test-mod/src/main/java/com/ishland/c2me/tests/testmod/mixin/pregen/MixinMinecraftServer.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ private void onTick(CallbackInfo info) {
139139
if (System.currentTimeMillis() - lastTick > 50) {
140140
for (ServerWorld world : this.worlds.values()) {
141141
world.getChunkManager().tick(() -> true, false);
142-
world.getBlockTickScheduler().tick(world.getTime(), 65536, (blockPos, block) -> {});
143-
world.getFluidTickScheduler().tick(world.getTime(), 65536, (blockPos, fluid) -> {});
142+
world.getBlockTickScheduler().tick(world.method_75260(), 65536, (blockPos, block) -> {});
143+
world.getFluidTickScheduler().tick(world.method_75260(), 65536, (blockPos, fluid) -> {});
144144
}
145145
lastTick += 50;
146146
hasTask = true;

0 commit comments

Comments
 (0)