mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2025-01-30 12:51:17 +08:00
[Forge] Fixed clients without WorldEdit not being able to join servers with WorldEdit installed (#2288)
This commit is contained in:
parent
0d8a2118f2
commit
df3f7b2ae6
@ -42,7 +42,7 @@ static NetworkRegistry.ChannelBuilder buildLenientHandler(String id, int protoco
|
||||
private static Predicate<String> validateLenient(String protocolVersion) {
|
||||
return remoteVersion ->
|
||||
protocolVersion.equals(remoteVersion)
|
||||
|| NetworkRegistry.ABSENT.equals(remoteVersion)
|
||||
|| NetworkRegistry.ABSENT.version().equals(remoteVersion)
|
||||
|| NetworkRegistry.ACCEPTVANILLA.equals(remoteVersion);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user