Skip to content

Commit

Permalink
Fixed a crash on non 1.20.2 versions
Browse files Browse the repository at this point in the history
Fixed a crash on non 1.20.2 versions
  • Loading branch information
milutinke authored Jan 29, 2024
2 parents db1fade + 4f89e4f commit 1479c64
Show file tree
Hide file tree
Showing 16 changed files with 32 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public class PacketPalette110 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public class PacketPalette112 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public class PacketPalette1122 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public class PacketPalette113 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public class PacketPalette114 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public class PacketPalette115 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public class PacketPalette116 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public class PacketPalette1162 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public class PacketPalette117 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public class PacketPalette118 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public class PacketPalette119 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public class PacketPalette1192 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public class PacketPalette1193 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public class PacketPalette1194 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public class PacketPalette17 : PacketTypePalette
protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;

protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public class PacketPalette18 : PacketTypePalette

protected override Dictionary<int, PacketTypesIn> GetListIn() => typeIn;
protected override Dictionary<int, PacketTypesOut> GetListOut() => typeOut;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => null!;
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => null!;
protected override Dictionary<int, ConfigurationPacketTypesIn> GetConfigurationListIn() => new();
protected override Dictionary<int, ConfigurationPacketTypesOut> GetConfigurationListOut() => new();
}
}

0 comments on commit 1479c64

Please sign in to comment.