3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-12-28 00:50:20 +01:00

Fix some problems brought from merge conflicts

Dieser Commit ist enthalten in:
RednedEpic 2020-03-05 20:53:58 -06:00
Ursprung 418026dbe6
Commit b2d611e24c
3 geänderte Dateien mit 9 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -19,6 +19,8 @@ jobs:
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: submodules-init
uses: snickerbockers/submodules-init@v4
- name: Build with Maven
run: mvn -B package
- name: Archive artifacts

Datei anzeigen

@ -165,9 +165,9 @@ public class GeyserSession implements CommandSender {
ChunkUtils.sendEmptyChunks(this, playerEntity.getPosition().toInt(), 0, false);
BiomeDefinitionListPacket biomePacket = new BiomeDefinitionListPacket();
biomePacket.setTag(CompoundTag.EMPTY);
upstream.sendPacket(biomePacket);
BiomeDefinitionListPacket biomeDefinitionListPacket = new BiomeDefinitionListPacket();
biomeDefinitionListPacket.setTag(Toolbox.BIOMES);
upstream.sendPacket(biomeDefinitionListPacket);
AvailableEntityIdentifiersPacket entityPacket = new AvailableEntityIdentifiersPacket();
entityPacket.setTag(CompoundTag.EMPTY);

Datei anzeigen

@ -157,14 +157,14 @@ public class MessageUtils {
base += "r";
break;
default:
return "";
break;
}
return base;
}
private static String getFormat(List<ChatFormat> formats) {
String str = "";
StringBuilder str = new StringBuilder();
for (ChatFormat cf : formats) {
String base = "\u00a7";
switch (cf) {
@ -187,10 +187,10 @@ public class MessageUtils {
break;
}
str += base;
str.append(base);
}
return str;
return str.toString();
}
public static boolean isMessage(String text) {