Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-19 17:30:08 +01:00
chore: replace while loop with simple if as char can be max 2 bytes
Dieser Commit ist enthalten in:
Ursprung
f740ab064a
Commit
cd110f537b
@ -242,7 +242,7 @@ public class FastSchematicWriterV3 implements ClipboardWriter {
|
||||
}
|
||||
out.writeNamedTag(paletteEntryResolver.apply(obj), value);
|
||||
}
|
||||
while ((value & -128) != 0) {
|
||||
if ((value & -128) != 0) {
|
||||
dataBytesUsed++;
|
||||
dataOut.write(value & 127 | 128);
|
||||
value >>>= 7;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren