Fix bounce exploit (#281)

Bumps release version
This commit is contained in:
Kamron Batman 2020-10-20 22:57:57 -07:00 • committed by GitHub
parent d366fa8e3c
commit 185bee7ae2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 36 deletions

View file

@ -18,6 +18,8 @@ namespace Server
bool InRange(Point3D p, int range);
bool InRange(IPoint2D p, int range);
void RemoveItem(Item item);
}
public class Entity : IEntity, IComparable<Entity>
@ -62,6 +64,10 @@ namespace Server
{
}
public void RemoveItem(Item item)
{
}
public bool InRange(Point2D p, int range) =>
p.m_X >= Location.m_X - range
&& p.m_X <= Location.m_X + range