so yeah i tried to add it but doesnt really work out well yet, i cant walk tru the object of slashed vine. I might need forced walk but i don't know how to do that.
objecthandler.java
Code:
case "vines":
if (objectDef.containsOption(0, "Chop-down"))
slashVine(player, object);
Code:
private static void slashVine(Player player, WorldObject object)
{
World.spawnTemporaryObject(new WorldObject(object.getId() + 1, object.getType(), object.getRotation(), object.getX(), object.getY(), object.getPlane()), 60000);
player.getPackets().sendGameMessage("You slash the vine");
}