mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-23 20:53:40 -04:00
Fix ill-formed xml doc in Packet class
This commit is contained in:
parent
ed845fbe7a
commit
e4353aa21d
@ -26,11 +26,10 @@ namespace MCGalaxy.Commands.Chatting {
|
||||
|
||||
public override void Use(Player p, string message) {
|
||||
p.parseEmotes = !p.parseEmotes;
|
||||
|
||||
bool addToList = p.parseEmotes != ServerConfig.ParseEmotes;
|
||||
if (!addToList) Server.noEmotes.Remove(p.name);
|
||||
else Server.noEmotes.AddIfNotExists(p.name);
|
||||
Server.noEmotes.Save();
|
||||
Server.noEmotes.Save();
|
||||
Player.Message(p, "Emote parsing is {0}.", p.parseEmotes ? "enabled" : "disabled");
|
||||
}
|
||||
|
||||
|
@ -41,12 +41,12 @@ namespace MCGalaxy.Network {
|
||||
return buffer;
|
||||
}
|
||||
|
||||
/// <summary> Constructs a ping packet. </remarks>
|
||||
/// <summary> Constructs a ping packet. </summary>
|
||||
public static byte[] Ping() {
|
||||
return new byte[] { Opcode.Ping };
|
||||
}
|
||||
|
||||
/// <summary> Constructs a packet that specified map data is about to be sent. </remarks>
|
||||
/// <summary> Constructs a packet that specified map data is about to be sent. </summary>
|
||||
public static byte[] LevelInitalise() {
|
||||
return new byte[] { Opcode.LevelInitialise };
|
||||
}
|
||||
|
@ -38,7 +38,7 @@ namespace MCGalaxy {
|
||||
|
||||
void HandleExtEntry(byte[] buffer, int offset) {
|
||||
string extName = NetUtils.ReadString(buffer, offset + 1);
|
||||
int extVersion = NetUtils.ReadI32(buffer, offset + 65));
|
||||
int extVersion = NetUtils.ReadI32(buffer, offset + 65);
|
||||
AddExtension(extName, extVersion);
|
||||
extensionCount--;
|
||||
CheckReadAllExtensions();
|
||||
|
Loading…
x
Reference in New Issue
Block a user