From 538b467fa66d8602b66517a111d1f281c3ce690a Mon Sep 17 00:00:00 2001 From: KennyTV <28825609+KennyTV@users.noreply.github.com> Date: Tue, 14 Jan 2020 19:18:02 +0100 Subject: [PATCH 1/2] Fix heightmaps --- .../protocols/protocol1_14to1_13_2/packets/WorldPackets.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14to1_13_2/packets/WorldPackets.java b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14to1_13_2/packets/WorldPackets.java index 3f10c4326..9ec773eac 100644 --- a/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14to1_13_2/packets/WorldPackets.java +++ b/common/src/main/java/us/myles/ViaVersion/protocols/protocol1_14to1_13_2/packets/WorldPackets.java @@ -189,10 +189,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) From 9598e0e4f81b63271e79183e4be920a91c623a3e Mon Sep 17 00:00:00 2001 From: Myles Date: Tue, 14 Jan 2020 19:12:24 +0000 Subject: [PATCH 2/2] Update authors --- bukkit/src/main/resources/plugin.yml | 2 +- bungee/src/main/resources/bungee.yml | 2 +- sponge/src/main/java/us/myles/ViaVersion/SpongePlugin.java | 2 +- sponge/src/main/resources/mcmod.info | 5 ++++- .../src/main/java/us/myles/ViaVersion/VelocityPlugin.java | 2 +- 5 files changed, 8 insertions(+), 5 deletions(-) diff --git a/bukkit/src/main/resources/plugin.yml b/bukkit/src/main/resources/plugin.yml index 116d8babe..c02b3a044 100644 --- a/bukkit/src/main/resources/plugin.yml +++ b/bukkit/src/main/resources/plugin.yml @@ -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 diff --git a/bungee/src/main/resources/bungee.yml b/bungee/src/main/resources/bungee.yml index b06cfea34..c107e591d 100644 --- a/bungee/src/main/resources/bungee.yml +++ b/bungee/src/main/resources/bungee.yml @@ -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} \ No newline at end of file diff --git a/sponge/src/main/java/us/myles/ViaVersion/SpongePlugin.java b/sponge/src/main/java/us/myles/ViaVersion/SpongePlugin.java index 670dd56ae..4defb2b1a 100644 --- a/sponge/src/main/java/us/myles/ViaVersion/SpongePlugin.java +++ b/sponge/src/main/java/us/myles/ViaVersion/SpongePlugin.java @@ -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 { diff --git a/sponge/src/main/resources/mcmod.info b/sponge/src/main/resources/mcmod.info index 81e14a9e3..6a17522a2 100644 --- a/sponge/src/main/resources/mcmod.info +++ b/sponge/src/main/resources/mcmod.info @@ -6,7 +6,10 @@ "description": "${project.description}", "authorList": [ "_MylesC", - "Matsv" + "creeper123123321", + "Gerrygames", + "KennyTV", + "Matsv" ], "logoFile": "assets/viaversion/textures/logo.png" } diff --git a/velocity/src/main/java/us/myles/ViaVersion/VelocityPlugin.java b/velocity/src/main/java/us/myles/ViaVersion/VelocityPlugin.java index 44c7ca459..d64da65eb 100644 --- a/velocity/src/main/java/us/myles/ViaVersion/VelocityPlugin.java +++ b/velocity/src/main/java/us/myles/ViaVersion/VelocityPlugin.java @@ -40,7 +40,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" )