Mirror von
https://github.com/ViaVersion/ViaBackwards.git
synchronisiert 2024-12-26 08:10:10 +01:00
Sync with master
Dieser Commit ist enthalten 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 is the output url of /viaversion dump?
|
||||||
|
>
|
||||||
|
|
||||||
### 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:
|
|
||||||
|
|
||||||
|
|
||||||
### How/when does this error happen? login?:
|
### How/when does this error happen? login?:
|
||||||
|
>
|
||||||
|
|
||||||
### Is there an error in the console? Use pastebin.com. Is there a kick message?:
|
### 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
|
# ViaBackwards
|
||||||
|
|
||||||
Allows 1.9.x on a 1.10 Spigot server.
|
Allows 1.9.x on a 1.10 Spigot server
|
||||||
Requires [ViaVersion](http://viaversion.com) to be installed
|
|
||||||
|
|
||||||
TODO:
|
|
||||||
- [ ] Cleanup code
|
Requires [ViaVersion](http://viaversion.com) to be installed
|
||||||
- [ ] Improve the rewriters
|
**Spigot page:** https://www.spigotmc.org/resources/viabackwards.27448/
|
||||||
- [ ] 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
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
name: ViaBackwards
|
name: ViaBackwards
|
||||||
version: ${project.version}
|
version: ${project.version}
|
||||||
|
main: nl.matsv.viabackwards.ViaBackwards
|
||||||
|
description: Allows 1.9.x on a 1.10 Spigot server
|
||||||
main: nl.matsv.viabackwards.BukkitPlugin
|
main: nl.matsv.viabackwards.BukkitPlugin
|
||||||
description: Allow
|
description: Allow
|
||||||
|
|
||||||
|
@ -76,6 +76,14 @@ public class Chunk1_10Type extends PartialType<Chunk, ClientWorld> {
|
|||||||
|
|
||||||
List<CompoundTag> nbtData = Arrays.asList(Type.NBT_ARRAY.read(input));
|
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);
|
return new Chunk1_10(chunkX, chunkZ, groundUp, primaryBitmask, sections, biomeData, nbtData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
2
pom.xml
2
pom.xml
@ -23,6 +23,8 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>nl.matsv</groupId>
|
<groupId>nl.matsv</groupId>
|
||||||
|
<artifactId>viabackwards</artifactId>
|
||||||
|
<version>1.0.2-DEV</version>
|
||||||
<artifactId>viabackwards-parent</artifactId>
|
<artifactId>viabackwards-parent</artifactId>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<version>1.0.1</version>
|
<version>1.0.1</version>
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren