fix a weird bug
This commit is contained in:
		
							parent
							
								
									5c1ef46fc2
								
							
						
					
					
						commit
						e078c3cb5e
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -8,7 +8,7 @@ runServer {
 | 
				
			||||||
    javaLauncher = javaToolchains.launcherFor {
 | 
					    javaLauncher = javaToolchains.launcherFor {
 | 
				
			||||||
        languageVersion = JavaLanguageVersion.of(17)
 | 
					        languageVersion = JavaLanguageVersion.of(17)
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    minecraftVersion "1.20.4"
 | 
					    minecraftVersion "1.20.2"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
processResources {
 | 
					processResources {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -96,7 +96,7 @@ public class V1_8PacketFactory implements PacketFactory {
 | 
				
			||||||
        CompletableFuture<Void> future = new CompletableFuture<>();
 | 
					        CompletableFuture<Void> future = new CompletableFuture<>();
 | 
				
			||||||
        skinned(player, properties, new UserProfile(entity.getUuid(), Integer.toString(entity.getEntityId()))).thenAccept(profile -> {
 | 
					        skinned(player, properties, new UserProfile(entity.getUuid(), Integer.toString(entity.getEntityId()))).thenAccept(profile -> {
 | 
				
			||||||
            sendPacket(player, new WrapperPlayServerPlayerInfo(
 | 
					            sendPacket(player, new WrapperPlayServerPlayerInfo(
 | 
				
			||||||
                    WrapperPlayServerPlayerInfo.Action.ADD_PLAYER, new WrapperPlayServerPlayerInfo.PlayerData(Component.text(""),
 | 
					                    WrapperPlayServerPlayerInfo.Action.ADD_PLAYER, new WrapperPlayServerPlayerInfo.PlayerData(Component.text(" "),
 | 
				
			||||||
                    profile, GameMode.CREATIVE, 1)));
 | 
					                    profile, GameMode.CREATIVE, 1)));
 | 
				
			||||||
            future.complete(null);
 | 
					            future.complete(null);
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue