Skip to content

Commit

Permalink
Cleanup unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Axionize committed Oct 16, 2024
1 parent 42c0dad commit 941b9da
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 48 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// FoliaSchedulerAdapter.java
package me.caseload.knockbacksync.scheduler;

import io.papermc.paper.threadedregions.scheduler.GlobalRegionScheduler;
Expand All @@ -25,7 +24,6 @@ public FoliaSchedulerAdapter(Plugin plugin) {

@Override
public AbstractTaskHandle runTask(Runnable task) {
// scheduler.execute(plugin, task);
return new FoliaTaskHandle(scheduler.run(plugin, scheduledTask -> task.run()));
}

Expand Down
3 changes: 1 addition & 2 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ dependencies {
compileOnly("org.projectlombok:lombok:1.18.34")
annotationProcessor("org.projectlombok:lombok:1.18.34")

// Shadded in or bundled by platform-specific code
// compileOnly("net.fabricmc:fabric-loader:${rootProject.property("loader_version")}")
// Shaded in or bundled by platform-specific code
implementation("com.github.retrooper:packetevents-api:2.5.0")
implementation("com.fasterxml.jackson.core:jackson-databind:2.17.2")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.17.2")
Expand Down

This file was deleted.

0 comments on commit 941b9da

Please sign in to comment.