Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Merge pull request #439 from gamerforEA/master
Fix Metrics injection for Sponge distributive
Dieser Commit ist enthalten in:
Commit
514f82190b
@ -17,7 +17,7 @@ repositories {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':worldedit-core')
|
compile project(':worldedit-core')
|
||||||
compile 'org.spongepowered:spongeapi:7.0.0-SNAPSHOT'
|
compile 'org.spongepowered:spongeapi:7.1.0'
|
||||||
compile 'org.bstats:bstats-sponge:1.4'
|
compile 'org.bstats:bstats-sponge:1.4'
|
||||||
testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.0-rc1'
|
testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.0-rc1'
|
||||||
}
|
}
|
||||||
|
@ -34,7 +34,7 @@ import com.sk89q.worldedit.sponge.adapter.SpongeImplAdapter;
|
|||||||
import com.sk89q.worldedit.sponge.adapter.SpongeImplLoader;
|
import com.sk89q.worldedit.sponge.adapter.SpongeImplLoader;
|
||||||
import com.sk89q.worldedit.sponge.config.SpongeConfiguration;
|
import com.sk89q.worldedit.sponge.config.SpongeConfiguration;
|
||||||
import com.sk89q.worldedit.world.item.ItemTypes;
|
import com.sk89q.worldedit.world.item.ItemTypes;
|
||||||
import org.bstats.sponge.Metrics;
|
import org.bstats.sponge.Metrics2;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.spongepowered.api.Sponge;
|
import org.spongepowered.api.Sponge;
|
||||||
import org.spongepowered.api.block.BlockSnapshot;
|
import org.spongepowered.api.block.BlockSnapshot;
|
||||||
@ -77,7 +77,7 @@ public class SpongeWorldEdit {
|
|||||||
private Logger logger;
|
private Logger logger;
|
||||||
|
|
||||||
@Inject
|
@Inject
|
||||||
private Metrics metrics;
|
private Metrics2 metrics;
|
||||||
|
|
||||||
public static final String MOD_ID = "worldedit";
|
public static final String MOD_ID = "worldedit";
|
||||||
|
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren