Merge branch 'master' into dev

This commit is contained in:
Myles 2020-01-14 19:12:55 +00:00
commit c64c27331a
6 changed files with 10 additions and 7 deletions

View File

@ -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

View File

@ -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}

View File

@ -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)

View File

@ -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 {

View File

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

View File

@ -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"
) )