Revert "Updates Packets & Randomizer (#43)" (#61)

This reverts commit 179cb50557.
This commit is contained in:
Kamron Batman 2019-11-11 08:46:11 -08:00 committed by GitHub
parent 179cb50557
commit c2ecc76457
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
588 changed files with 16260 additions and 10926 deletions

View file

@ -3,7 +3,13 @@ namespace Server.Items
public class IndecipherableMap : MapItem
{
[Constructible]
public IndecipherableMap() => Hue = Utility.RandomDouble() < 0.2 ? 0x965 : 0x961;
public IndecipherableMap()
{
if (Utility.RandomDouble() < 0.2)
Hue = 0x965;
else
Hue = 0x961;
}
public IndecipherableMap(Serial serial) : base(serial)
{
@ -30,4 +36,4 @@ namespace Server.Items
int version = reader.ReadEncodedInt();
}
}
}
}