mixins: Correct WallObject's clickbox
The orientation is baked into the model and this var has nothing to do with what this method takes in this slot
This commit is contained in:
@@ -101,8 +101,8 @@ public abstract class RSWallObjectMixin implements RSWallObject
|
|||||||
{
|
{
|
||||||
Area clickbox = new Area();
|
Area clickbox = new Area();
|
||||||
|
|
||||||
Area clickboxA = Perspective.getClickbox(client, getModelA(), getOrientationA(), getLocalLocation());
|
Area clickboxA = Perspective.getClickbox(client, getModelA(), 0, getLocalLocation());
|
||||||
Area clickboxB = Perspective.getClickbox(client, getModelB(), getOrientationB(), getLocalLocation());
|
Area clickboxB = Perspective.getClickbox(client, getModelB(), 0, getLocalLocation());
|
||||||
|
|
||||||
if (clickboxA == null && clickboxB == null)
|
if (clickboxA == null && clickboxB == null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user