geforkt von Mirrors/FastAsyncWorldEdit
Updated for API changes.
Dieser Commit ist enthalten in:
Ursprung
89767aedf4
Commit
93735c3268
@ -21,7 +21,7 @@ apply plugin: 'net.minecrell.vanilla.server.library'
|
||||
|
||||
dependencies {
|
||||
compile project(':worldedit-core')
|
||||
compile 'org.spongepowered:spongeapi:5.0.0-SNAPSHOT'
|
||||
compile 'org.spongepowered:spongeapi:5.1.0-SNAPSHOT'
|
||||
testCompile group: 'org.mockito', name: 'mockito-core', version:'1.9.0-rc1'
|
||||
}
|
||||
|
||||
@ -36,7 +36,7 @@ sponge {
|
||||
|
||||
minecraft {
|
||||
version = "1.10.2"
|
||||
mappings = 'snapshot_20160628'
|
||||
mappings = "snapshot_20161029"
|
||||
runDir = 'run'
|
||||
}
|
||||
|
||||
|
@ -177,7 +177,7 @@ public abstract class SpongeWorld extends AbstractWorld {
|
||||
@Override
|
||||
public BaseBiome getBiome(Vector2D position) {
|
||||
checkNotNull(position);
|
||||
return new BaseBiome(IDHelper.resolve(getWorld().getBiome(position.getBlockX(), position.getBlockZ())));
|
||||
return new BaseBiome(IDHelper.resolve(getWorld().getBiome(position.getBlockX(), 0, position.getBlockZ())));
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -185,7 +185,7 @@ public abstract class SpongeWorld extends AbstractWorld {
|
||||
checkNotNull(position);
|
||||
checkNotNull(biome);
|
||||
|
||||
getWorld().setBiome(position.getBlockX(), position.getBlockZ(), IDHelper.resolveBiome(biome.getId()));
|
||||
getWorld().setBiome(position.getBlockX(), 0, position.getBlockZ(), IDHelper.resolveBiome(biome.getId()));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren