3
0
Mirror von https://github.com/ViaVersion/ViaVersion.git synchronisiert 2024-11-20 06:50:08 +01:00

Merge branch 'master' into abstraction

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

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

@ -173,10 +173,10 @@ public class WorldPackets {
int id = section.getFlatBlock(x, y, z);
if (id != AIR && id != VOID_AIR && id != CAVE_AIR) {
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)) {
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)

Datei anzeigen

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

Datei anzeigen

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

Datei anzeigen

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