Changeset 299 for binary-improvements/AllocsCommands/Commands
- Timestamp:
- Dec 14, 2016, 7:47:05 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/AllocsCommands/Commands/Give.cs
r290 r299 68 68 for (int i = 0; i < iv.Attachments.Length; i++) { 69 69 ItemValue att = iv.Attachments[i]; 70 if (att .HasQuality) {70 if (att != null && att.HasQuality) { 71 71 att.Quality = quality; 72 72 } … … 77 77 for (int i = 0; i < iv.Parts.Length; i++) { 78 78 ItemValue part = iv.Parts[i]; 79 if (part .HasQuality) {79 if (part != null && part.HasQuality) { 80 80 part.Quality = quality; 81 81 }
Note:
See TracChangeset
for help on using the changeset viewer.