grammar, use ViaVersion 3.1.0-1.16.2-pre1, reenable travis cache

This commit is contained in:
creeper123123321 2020-08-04 08:14:11 -03:00
parent 7c183177bd
commit 262e5ffd9d
4 changed files with 13 additions and 12 deletions

View File

@ -1,6 +1,6 @@
---
name: Bug report
about: Create a bug report so we can fix it
about: Create a bug report, so we can fix it
title: ''
labels: bug
assignees: ''
@ -10,9 +10,9 @@ assignees: ''
**Describe the bug, provide any errors**
A clear and concise description of what the bug is. Can you paste the error into https://gist.github.com?
**Is this happening specifically by ViaFabric?**
**Is this happening specifically on ViaFabric?**
(Optional)
- [ ] It seems to not happen when using ViaVersion/ViaBackwards/ViaRewind installed on Bukkit/BungeeCord/Sponge/Velocity servers.
- [ ] It seems to not happen when using ViaVersion/ViaBackwards/ViaRewind installed on Bukkit/BungeeCord/Sponge/Velocity server.
**How can we reproduce it?**
Steps to reproduce the behavior:

View File

@ -1,11 +1,12 @@
language: java
#before_cache:
#- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
#- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
#cache:
# directories:
# - "$HOME/.gradle/caches/"
# - "$HOME/.gradle/wrapper/"
# Gradle seems to not use latest builds from repo.viaversion.com
before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
- rm -fr $HOME/.gradle/caches/*/plugin-resolution/
cache:
directories:
- "$HOME/.gradle/caches/"
- "$HOME/.gradle/wrapper/"
deploy:
edge: true
provider: releases

View File

@ -50,7 +50,7 @@ tasks.named<ProcessResources>("processResources") {
dependencies {
// transitive = false because Guava is conflicting on runClient
implementation("us.myles:viaversion:3.0.2-SNAPSHOT") { isTransitive = false }
implementation("us.myles:viaversion:3.1.0-1.16.2-pre1") { isTransitive = false }
// Use 1.16 snapshot, probably intermediary will make it work on further versions
// https://modmuss50.me/fabric.html?&version=1.16

View File

@ -28,7 +28,7 @@ import us.myles.ViaVersion.api.data.UserConnection;
import us.myles.ViaVersion.api.platform.ViaConnectionManager;
public class VRConnectionManager extends ViaConnectionManager {
//@Override TODO: check why Gradle isn't downloading the latest snapshot
@Override
public boolean isFrontEnd(UserConnection connection) {
return !(connection instanceof VRClientSideUserConnection);
}