mirror of
https://github.com/filoghost/HolographicDisplays.git
synced 2024-12-20 07:47:38 +01:00
Clarify comment
This commit is contained in:
parent
db24dfe965
commit
cc8b068bf0
@ -81,8 +81,8 @@ public class VersionNMSManager implements NMSManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Modifying the pipeline in the main thread can cause deadlocks, delays and other concurrency issues.
|
* Modifying the pipeline in the main thread can cause deadlocks, delays and other concurrency issues,
|
||||||
* Thanks to ProtocolLib for this insight.
|
* which can be avoided by using the event loop. Thanks to ProtocolLib for this insight.
|
||||||
*/
|
*/
|
||||||
private void modifyPipeline(Player player, Consumer<ChannelPipeline> pipelineModifierTask) {
|
private void modifyPipeline(Player player, Consumer<ChannelPipeline> pipelineModifierTask) {
|
||||||
PlayerConnection playerConnection = ((CraftPlayer) player).getHandle().b;
|
PlayerConnection playerConnection = ((CraftPlayer) player).getHandle().b;
|
||||||
|
Loading…
Reference in New Issue
Block a user