mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Fix wrong channel type in Client/Server CommandFactories
This is a u8 not a u16
This commit is contained in:
		@@ -41,7 +41,7 @@ struct ToClientCommandHandler
 | 
			
		||||
struct ServerCommandFactory
 | 
			
		||||
{
 | 
			
		||||
	const char* name;
 | 
			
		||||
	u16 channel;
 | 
			
		||||
	u8 channel;
 | 
			
		||||
	bool reliable;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -41,7 +41,7 @@ struct ToServerCommandHandler
 | 
			
		||||
struct ClientCommandFactory
 | 
			
		||||
{
 | 
			
		||||
	const char* name;
 | 
			
		||||
	u16 channel;
 | 
			
		||||
	u8 channel;
 | 
			
		||||
	bool reliable;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user