mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2025-01-30 22:41:25 +01:00
1.20 Pre-Release 6 for ViaFabric. (#248)
This commit is contained in:
parent
6c0739b4ab
commit
35287e4c29
@ -2,12 +2,12 @@
|
||||
# rip my ram
|
||||
org.gradle.jvmargs=-Xms32M -Xmx4G -XX:+UseG1GC -XX:+UseStringDeduplication
|
||||
|
||||
loader_version=0.14.19
|
||||
viaver_version=4.7.0-1.20-pre1-SNAPSHOT
|
||||
loader_version=0.14.21
|
||||
viaver_version=4.7.0-1.20-pre6-SNAPSHOT
|
||||
yaml_version=2.0
|
||||
|
||||
publish_mc_versions=1.19.4, 1.18.2, 1.17.1, 1.16.5, 1.15.2, 1.14.4, 1.8.9
|
||||
# example: 1.19.1-rc2
|
||||
modrinth_mc_snapshot=1.20-pre1
|
||||
modrinth_mc_snapshot=1.20-pre6
|
||||
# example: 1.19-Snapshot
|
||||
curseforge_mc_snapshot=1.20-Snapshot
|
||||
|
@ -1,8 +1,8 @@
|
||||
dependencies {
|
||||
minecraft("com.mojang:minecraft:1.20-pre1")
|
||||
mappings("net.fabricmc:yarn:1.20-pre1+build.1:v2")
|
||||
minecraft("com.mojang:minecraft:1.20-pre6")
|
||||
mappings("net.fabricmc:yarn:1.20-pre6+build.2:v2")
|
||||
|
||||
modImplementation("net.fabricmc.fabric-api:fabric-api:0.80.2+1.20")
|
||||
modImplementation("net.fabricmc.fabric-api:fabric-api:0.82.1+1.20")
|
||||
modImplementation("com.terraformersmc:modmenu:7.0.0-beta.2")
|
||||
}
|
||||
|
||||
|
@ -32,7 +32,7 @@ public class NMSCommandSender implements ViaCommandSender {
|
||||
@Override
|
||||
public void sendMessage(String s) {
|
||||
if (source instanceof ServerCommandSource) {
|
||||
((ServerCommandSource) source).sendFeedback(fromLegacy(s), false);
|
||||
((ServerCommandSource) source).sendFeedback(() -> fromLegacy(s), false);
|
||||
} else if (source instanceof FabricClientCommandSource) {
|
||||
((FabricClientCommandSource) source).sendFeedback(fromLegacy(s));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user