fix: Fixes serious stacking issue (#1225)

* Fixes a major bug where players can stack items into their backpack infinitely even if they get a message saying they can't.
* Fixes other minor issues and cleans up code.
This commit is contained in:
Kamron Batman 2022-11-02 22:18:44 -07:00 committed by GitHub
parent d0ba94aa83
commit e47b62c0ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 23 deletions

View file

@ -56,7 +56,7 @@ public class ClientVersion : IComparable<ClientVersion>, IComparer<ClientVersion
Patch = pat;
Type = type;
SourceString = Utility.Intern(ToStringImpl());
SourceString = ToStringImpl().Intern();
}
public ClientVersion(string fmt)