Merge branch 'master' into abstraction

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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