mirror of
https://github.com/ViaVersion/ViaBackwards.git
synced 2024-11-21 12:07:38 +01:00
Sync with master
This commit is contained in:
commit
debce2e8f7
17
.github/ISSUE_TEMPLATE.md
vendored
17
.github/ISSUE_TEMPLATE.md
vendored
@ -1,17 +1,8 @@
|
||||
### What version of ViaBackwards are you using? Type /ver ViaBackwards:
|
||||
|
||||
|
||||
### What version of ViaVersion are you using? Type /ver ViaVersion:
|
||||
|
||||
|
||||
### What version of Spigot are you using? Type /ver:
|
||||
|
||||
|
||||
### What plugins are you using? Type /plugins:
|
||||
|
||||
### What is the output url of /viaversion dump?
|
||||
>
|
||||
|
||||
### How/when does this error happen? login?:
|
||||
|
||||
>
|
||||
|
||||
### Is there an error in the console? Use pastebin.com. Is there a kick message?:
|
||||
|
||||
>
|
||||
|
14
README.md
14
README.md
@ -1,13 +1,7 @@
|
||||
# ViaBackwards
|
||||
|
||||
Allows 1.9.x on a 1.10 Spigot server.
|
||||
Requires [ViaVersion](http://viaversion.com) to be installed
|
||||
Allows 1.9.x on a 1.10 Spigot server
|
||||
|
||||
TODO:
|
||||
- [ ] Cleanup code
|
||||
- [ ] Improve the rewriters
|
||||
- [ ] Make it possible to send metadata with the rewriteEntityId
|
||||
- [ ] Add support for sound names
|
||||
- [ ] Create JavaDocs
|
||||
- [ ] Improve the Entity tracker system to work good with multiple versions.
|
||||
- [ ] Make it possible to choose your own replacement blocks
|
||||
|
||||
Requires [ViaVersion](http://viaversion.com) to be installed
|
||||
**Spigot page:** https://www.spigotmc.org/resources/viabackwards.27448/
|
||||
|
@ -1,5 +1,7 @@
|
||||
name: ViaBackwards
|
||||
version: ${project.version}
|
||||
main: nl.matsv.viabackwards.ViaBackwards
|
||||
description: Allows 1.9.x on a 1.10 Spigot server
|
||||
main: nl.matsv.viabackwards.BukkitPlugin
|
||||
description: Allow
|
||||
|
||||
|
@ -76,6 +76,14 @@ public class Chunk1_10Type extends PartialType<Chunk, ClientWorld> {
|
||||
|
||||
List<CompoundTag> nbtData = Arrays.asList(Type.NBT_ARRAY.read(input));
|
||||
|
||||
// Temp patch for plugins that sent wrong too big chunks TODO find the issue in LibsDisguise and PR it.
|
||||
if (input.readableBytes() > 0) {
|
||||
byte[] array = new byte[input.readableBytes()];
|
||||
input.readBytes(array);
|
||||
if (ViaVersion.getInstance().isDebug())
|
||||
System.out.println("Found " + array.length + " more bytes than expected while reading the chunk");
|
||||
}
|
||||
|
||||
return new Chunk1_10(chunkX, chunkZ, groundUp, primaryBitmask, sections, biomeData, nbtData);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user