Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
zly2006 committed Nov 14, 2024
1 parent 10a6a8c commit 9cb0488
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ loader_version=0.16.7

kotlin_loader_version=1.12.3+kotlin.2.0.21
# Mod Properties
mod_version=0.2.2
mod_version=0.2.3
maven_group=com.github.zly2006
archives_base_name=xbackup

Expand Down
11 changes: 0 additions & 11 deletions xb-1.21/src/main/java/com/github/zly2006/xbackup/mc121/XB121.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,6 @@ import net.fabricmc.fabric.api.command.v2.CommandRegistrationCallback
object XB121: ModInitializer {
override fun onInitialize() {
CommandRegistrationCallback.EVENT.register { dispatcher, _, _ ->
// dispatcher.register {
// literal("fake-chunk") {
// executes {
// val blockPos = it.source.player!!.blockPos
// it.source.world.chunkManager.initChunkCaches()
// val holder = it.source.world.chunkManager.getChunkHolder(ChunkPos(blockPos).toLong())
// (holder as FakeChunk).fake()
// 1
// }
// }
// }
Commands.register(dispatcher)
}
}
Expand Down

0 comments on commit 9cb0488

Please sign in to comment.