geforkt von Mirrors/AxiomPaperPlugin
Fix HelloPacketListener using buf instead of out
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Alle Prüfungen waren erfolgreich
SteamWarCI Build successful
Dieser Commit ist enthalten in:
Ursprung
81edb4c970
Commit
af866deeac
@ -65,8 +65,8 @@ public class HelloPacketListener implements AxiomPacketListener, Listener {
|
||||
out.writeInt(handshakeEvent.getMaxBufferSize()); // Max Buffer Size
|
||||
out.writeBoolean(false); // No source info
|
||||
out.writeBoolean(false); // No source settings
|
||||
MojBuf.writeVarInt(buf, 5); // Maximum Reach
|
||||
MojBuf.writeVarInt(buf, 16); // Max editor views
|
||||
MojBuf.writeVarInt(out, 5); // Maximum Reach
|
||||
MojBuf.writeVarInt(out, 16); // Max editor views
|
||||
out.writeBoolean(true); // Editable Views
|
||||
OutChannel.ENABLE.send(player, out);
|
||||
|
||||
@ -93,7 +93,7 @@ public class HelloPacketListener implements AxiomPacketListener, Listener {
|
||||
UUID activeView = container.get(AxiomConstants.ACTIVE_VIEW, UUIDDataType.INSTANCE);
|
||||
if (activeView != null) {
|
||||
out = MojBuf.unpooled();
|
||||
MojBuf.writeUUID(buf, activeView);
|
||||
MojBuf.writeUUID(out, activeView);
|
||||
|
||||
PersistentDataContainer[] views = container.get(AxiomConstants.VIEWS, PersistentDataType.TAG_CONTAINER_ARRAY);
|
||||
MojBuf.writeVarInt(out, views.length);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren