Skip to content

Commit

Permalink
remove debug tooltip event
Browse files Browse the repository at this point in the history
  • Loading branch information
PssbleTrngle committed May 16, 2022
1 parent 67f55f3 commit 6de97ff
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package possible_triangle.skygrid

import kotlinx.serialization.ExperimentalSerializationApi
import net.fabricmc.api.ClientModInitializer
import net.fabricmc.api.ModInitializer
import net.fabricmc.fabric.api.client.item.v1.ItemTooltipCallback
import net.fabricmc.fabric.api.command.v1.CommandRegistrationCallback
Expand Down Expand Up @@ -32,10 +33,10 @@ object SkygridFabric : ModInitializer {
ServerLifecycleEvents.SERVER_STARTING.register { XMLResource.reload(it) }
ServerLifecycleEvents.SERVER_STOPPING.register { XMLResource.clear() }

ItemTooltipCallback.EVENT.register(SkygridMod::onItemTooltip)
CommandRegistrationCallback.EVENT.register { it, _ -> SkygridCommand.register(it) }

WorldPresetMixin.presets().add(SkygridGenerator)

}

}

0 comments on commit 6de97ff

Please sign in to comment.