mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02: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
|
struct ServerCommandFactory
|
||||||
{
|
{
|
||||||
const char* name;
|
const char* name;
|
||||||
u16 channel;
|
u8 channel;
|
||||||
bool reliable;
|
bool reliable;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -41,7 +41,7 @@ struct ToServerCommandHandler
|
|||||||
struct ClientCommandFactory
|
struct ClientCommandFactory
|
||||||
{
|
{
|
||||||
const char* name;
|
const char* name;
|
||||||
u16 channel;
|
u8 channel;
|
||||||
bool reliable;
|
bool reliable;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user