3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-12-28 17:10:13 +01:00

Merge branch 'master' into dev

Dieser Commit ist enthalten in:
Myles 2020-01-14 19:12:55 +00:00
Commit c64c27331a
6 geänderte Dateien mit 10 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -1,6 +1,6 @@
name: ViaVersion name: ViaVersion
main: us.myles.ViaVersion.ViaVersionPlugin main: us.myles.ViaVersion.ViaVersionPlugin
authors: [_MylesC, Matsv] authors: [_MylesC, creeper123123321, Gerrygames, KennyTV, Matsv]
version: ${project.version} version: ${project.version}
description: ${project.description} description: ${project.description}
load: postworld load: postworld

Datei anzeigen

@ -1,5 +1,5 @@
name: ViaVersion name: ViaVersion
main: us.myles.ViaVersion.BungeePlugin main: us.myles.ViaVersion.BungeePlugin
description: ${project.description} description: ${project.description}
author: _MylesC, Matsv author: _MylesC, creeper123123321, Gerrygames, KennyTV, Matsv
version: ${project.version} version: ${project.version}

Datei anzeigen

@ -189,10 +189,10 @@ public class WorldPackets {
int id = section.getFlatBlock(x, y, z); int id = section.getFlatBlock(x, y, z);
if (id != AIR && id != VOID_AIR && id != CAVE_AIR) { if (id != AIR && id != VOID_AIR && id != CAVE_AIR) {
nonAirBlockCount++; nonAirBlockCount++;
worldSurface[x + z * 16] = y + s * 16 + 2; // Should be +1 (top of the block) but +2 works :tm: worldSurface[x + z * 16] = y + s * 16 + 1; // +1 (top of the block)
} }
if (MappingData.motionBlocking.contains(id)) { if (MappingData.motionBlocking.contains(id)) {
motionBlocking[x + z * 16] = y + s * 16 + 2; // Should be +1 (top of the block) but +2 works :tm: motionBlocking[x + z * 16] = y + s * 16 + 1; // +1 (top of the block)
} }
// Manually update light for non full blocks (block light must not be sent) // Manually update light for non full blocks (block light must not be sent)

Datei anzeigen

@ -38,7 +38,7 @@ import java.util.logging.Logger;
@Plugin(id = "viaversion", @Plugin(id = "viaversion",
name = "ViaVersion", name = "ViaVersion",
version = VersionInfo.VERSION, version = VersionInfo.VERSION,
authors = {"_MylesC", "Matsv"}, authors = {"_MylesC", "creeper123123321", "Gerrygames", "KennyTV", "Matsv"},
description = "Allow newer Minecraft versions to connect to an older server version." description = "Allow newer Minecraft versions to connect to an older server version."
) )
public class SpongePlugin implements ViaPlatform { public class SpongePlugin implements ViaPlatform {

Datei anzeigen

@ -6,6 +6,9 @@
"description": "${project.description}", "description": "${project.description}",
"authorList": [ "authorList": [
"_MylesC", "_MylesC",
"creeper123123321",
"Gerrygames",
"KennyTV",
"Matsv" "Matsv"
], ],
"logoFile": "assets/viaversion/textures/logo.png" "logoFile": "assets/viaversion/textures/logo.png"

Datei anzeigen

@ -40,7 +40,7 @@ import java.util.concurrent.TimeUnit;
id = "viaversion", id = "viaversion",
name = "ViaVersion", name = "ViaVersion",
version = VersionInfo.VERSION, version = VersionInfo.VERSION,
authors = {"_MylesC", "Matsv"}, authors = {"_MylesC", "creeper123123321", "Gerrygames", "KennyTV", "Matsv"},
description = "Allow newer Minecraft versions to connect to an older server version.", description = "Allow newer Minecraft versions to connect to an older server version.",
url = "https://viaversion.com" url = "https://viaversion.com"
) )