mirror of
https://github.com/webbukkit/dynmap.git
synced 2025-02-17 04:11:35 +01:00
fabric-1.20.6: update to 1.20.6
This commit is contained in:
parent
4d7d66f199
commit
788addccde
@ -12,7 +12,7 @@ eclipse {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaLanguageVersion.of(17) // Need this here so eclipse task generates correctly.
|
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = JavaLanguageVersion.of(21) // Need this here so eclipse task generates correctly.
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
shadow
|
shadow
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
minecraft_version=1.20.4
|
minecraft_version=1.20.6
|
||||||
yarn_mappings=1.20.4+build.1
|
yarn_mappings=1.20.6+build.1
|
||||||
loader_version=0.15.2
|
loader_version=0.15.11
|
||||||
fabric_version=0.91.2+1.20.4
|
fabric_version=0.98.0+1.20.6
|
||||||
|
@ -96,9 +96,10 @@ public class FabricWorld extends DynmapWorld {
|
|||||||
@Override
|
@Override
|
||||||
public DynmapLocation getSpawnLocation() {
|
public DynmapLocation getSpawnLocation() {
|
||||||
if (world != null) {
|
if (world != null) {
|
||||||
spawnloc.x = world.getLevelProperties().getSpawnX();
|
BlockPos spawnPos = world.getLevelProperties().getSpawnPos();
|
||||||
spawnloc.y = world.getLevelProperties().getSpawnY();
|
spawnloc.x = spawnPos.getX();
|
||||||
spawnloc.z = world.getLevelProperties().getSpawnZ();
|
spawnloc.y = spawnPos.getY();
|
||||||
|
spawnloc.z = spawnPos.getZ();
|
||||||
spawnloc.world = this.getName();
|
spawnloc.world = this.getName();
|
||||||
}
|
}
|
||||||
return spawnloc;
|
return spawnloc;
|
||||||
|
@ -27,8 +27,8 @@
|
|||||||
"accessWidener" : "dynmap.accesswidener",
|
"accessWidener" : "dynmap.accesswidener",
|
||||||
|
|
||||||
"depends": {
|
"depends": {
|
||||||
"fabricloader": ">=0.15.2",
|
"fabricloader": ">=0.15.11",
|
||||||
"fabric": ">=0.91.0",
|
"fabric": ">=0.98.0",
|
||||||
"minecraft": ["1.20.3", "1.20.4"]
|
"minecraft": ["1.20.5", "1.20.6"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user