mirror of
https://github.com/GeyserMC/Geyser.git
synced 2024-08-14 23:57:35 +00:00
Simplify check
This commit is contained in:
parent
82724b4020
commit
ce02d2840f
1 changed files with 1 additions and 1 deletions
|
|
@ -406,7 +406,7 @@ public class JavaLevelChunkWithLightTranslator extends PacketTranslator<Clientbo
|
|||
|
||||
// The Java server can send block entity data for blocks that aren't actually those blocks.
|
||||
// A Java client ignores these
|
||||
if (blockState != null && blockState.block().hasBlockEntity() && type.equals(blockState.block().blockEntityType())) {
|
||||
if (blockState != null && type.equals(blockState.block().blockEntityType())) {
|
||||
bedrockBlockEntities.add(blockEntityTranslator.getBlockEntityTag(session, type, x + chunkBlockX, y, z + chunkBlockZ, tag, blockState));
|
||||
|
||||
// Check for custom skulls
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue