Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-27 08:30:12 +01:00
Update for 1.16.1
Dieser Commit ist enthalten in:
Ursprung
3ea1059a62
Commit
78df56c7a0
@ -105,7 +105,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.github.steveice10</groupId>
|
<groupId>com.github.steveice10</groupId>
|
||||||
<artifactId>mcprotocollib</artifactId>
|
<artifactId>mcprotocollib</artifactId>
|
||||||
<version>1.16-SNAPSHOT</version>
|
<version>1.16.1-SNAPSHOT</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
<exclusions>
|
<exclusions>
|
||||||
<exclusion>
|
<exclusion>
|
||||||
|
@ -32,7 +32,6 @@ import com.nukkitx.nbt.CompoundTagBuilder;
|
|||||||
import com.nukkitx.nbt.tag.CompoundTag;
|
import com.nukkitx.nbt.tag.CompoundTag;
|
||||||
import com.nukkitx.protocol.bedrock.packet.BlockEntityDataPacket;
|
import com.nukkitx.protocol.bedrock.packet.BlockEntityDataPacket;
|
||||||
import com.nukkitx.protocol.bedrock.packet.BlockEventPacket;
|
import com.nukkitx.protocol.bedrock.packet.BlockEventPacket;
|
||||||
|
|
||||||
import org.geysermc.connector.network.session.GeyserSession;
|
import org.geysermc.connector.network.session.GeyserSession;
|
||||||
import org.geysermc.connector.network.translators.PacketTranslator;
|
import org.geysermc.connector.network.translators.PacketTranslator;
|
||||||
import org.geysermc.connector.network.translators.Translator;
|
import org.geysermc.connector.network.translators.Translator;
|
||||||
@ -75,10 +74,6 @@ public class JavaBlockValueTranslator extends PacketTranslator<ServerBlockValueP
|
|||||||
retractPiston(session, position, 1.0f, 1.0f);
|
retractPiston(session, position, 1.0f, 1.0f);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (packet.getValue() instanceof BeaconValue) {
|
|
||||||
blockEventPacket.setEventType(1);
|
|
||||||
session.sendUpstreamPacket(blockEventPacket);
|
|
||||||
}
|
|
||||||
if (packet.getValue() instanceof MobSpawnerValue) {
|
if (packet.getValue() instanceof MobSpawnerValue) {
|
||||||
blockEventPacket.setEventType(1);
|
blockEventPacket.setEventType(1);
|
||||||
session.sendUpstreamPacket(blockEventPacket);
|
session.sendUpstreamPacket(blockEventPacket);
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren